projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* ditch mem-leak
[m6w6/ext-http]
/
http_api.c
diff --git
a/http_api.c
b/http_api.c
index 8b80c4df33cd6f2e8fa7735ca5aef027387d4406..e2e04208a531e037ebaf47f5070558fbb5c32309 100644
(file)
--- a/
http_api.c
+++ b/
http_api.c
@@
-533,6
+533,7
@@
static inline void _http_curl_setopts(CURL *ch, const char *url, HashTable *opti
if (qstr.c) {
curl_easy_setopt(ch, CURLOPT_COOKIE, qstr.c);
if (qstr.c) {
curl_easy_setopt(ch, CURLOPT_COOKIE, qstr.c);
+ efree(qstr.c);
}
}
}
}