From 3788d044e66c87492e0eec178011e92ccee20abc Mon Sep 17 00:00:00 2001 From: lda Date: Thu, 14 Dec 2023 18:31:20 +0100 Subject: [PATCH] [FIX] Fix potential double-free issue in Cytoplasm --- src/HttpRouter.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/HttpRouter.c b/src/HttpRouter.c index ef16399..f548b9b 100644 --- a/src/HttpRouter.c +++ b/src/HttpRouter.c @@ -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; }