mirror of
https://github.com/lxsang/ant-http
synced 2025-02-24 00:52:48 +01:00
fix free pointer
This commit is contained in:
parent
2ca916449e
commit
1cfb69691f
@ -251,7 +251,7 @@ void* resolve_request(void* data)
|
|||||||
notfound(rq->client);
|
notfound(rq->client);
|
||||||
return task;
|
return task;
|
||||||
}
|
}
|
||||||
if(url) free(url);
|
//if(url) free(url); this is freed in the dput function
|
||||||
url = newurl;
|
url = newurl;
|
||||||
dput(rq->request, "RESOURCE_PATH", url);
|
dput(rq->request, "RESOURCE_PATH", url);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user