1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-01 12:59:47 +02:00

fix free pointer

This commit is contained in:
lxsang 2018-10-06 01:30:38 +02:00
parent 2ca916449e
commit 1cfb69691f

View File

@ -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);
}