[FIX] Fix potential double-free issue in Cytoplasm

This commit is contained in:
lda 2023-12-14 18:31:20 +01:00
parent 928e9c8223
commit 3788d044e6
Signed by: lda
GPG key ID: 6898757653ABE3E6

View file

@ -237,7 +237,6 @@ HttpRouterRoute(HttpRouter * router, char *path, void *args, void **ret)
{
if (regexec(&val->regex, pathPart, REG_MAX_SUB, pmatch, 0) == 0)
{
Free(pathPart);
break;
}