[FIX] Fix potential double-free issue in Cytoplasm
This commit is contained in:
parent
928e9c8223
commit
3788d044e6
1 changed files with 0 additions and 1 deletions
|
@ -237,7 +237,6 @@ HttpRouterRoute(HttpRouter * router, char *path, void *args, void **ret)
|
||||||
{
|
{
|
||||||
if (regexec(&val->regex, pathPart, REG_MAX_SUB, pmatch, 0) == 0)
|
if (regexec(&val->regex, pathPart, REG_MAX_SUB, pmatch, 0) == 0)
|
||||||
{
|
{
|
||||||
Free(pathPart);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue