From 44b7f45bb736c7fdcc5fc8bb7a703726e0552546 Mon Sep 17 00:00:00 2001 From: lda Date: Mon, 1 Jan 2024 07:57:11 -0500 Subject: [PATCH] [FIX] Fix other potential double-free MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Was done "à la va-vite" since I can't really work on it directly right now. --- src/HttpRouter.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/HttpRouter.c b/src/HttpRouter.c index f548b9b..02e6213 100644 --- a/src/HttpRouter.c +++ b/src/HttpRouter.c @@ -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; }