forked from Telodendria/Telodendria
[FIX] Fix other potential double-free
Was done "à la va-vite" since I can't really work on it directly right now.
This commit is contained in:
parent
3788d044e6
commit
44b7f45bb7
1 changed files with 0 additions and 1 deletions
|
@ -267,7 +267,6 @@ HttpRouterRoute(HttpRouter * router, char *path, void *args, void **ret)
|
||||||
substr = StrSubstr(pathPart, cpmatch.rm_so, cpmatch.rm_eo);
|
substr = StrSubstr(pathPart, cpmatch.rm_so, cpmatch.rm_eo);
|
||||||
if (pmatch[i].rm_so == -1)
|
if (pmatch[i].rm_so == -1)
|
||||||
{
|
{
|
||||||
Free(pathPart);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue