Fix potential double-free issue in Cytoplasm #22
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);
|
||||
if (pmatch[i].rm_so == -1)
|
||||
{
|
||||
Free(pathPart);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue