From 1cfb69691f490afcb4d9cce5d2f97710db611df1 Mon Sep 17 00:00:00 2001 From: lxsang Date: Sat, 6 Oct 2018 01:30:38 +0200 Subject: [PATCH] fix free pointer --- http_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_server.c b/http_server.c index 5c1c7f4..60db928 100644 --- a/http_server.c +++ b/http_server.c @@ -251,7 +251,7 @@ void* resolve_request(void* data) notfound(rq->client); return task; } - if(url) free(url); + //if(url) free(url); this is freed in the dput function url = newurl; dput(rq->request, "RESOURCE_PATH", url); }