projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
755dc2f
)
multi: Fixed a memory leak on OOM condition
author
Dan Fandrich
<dan@coneharvesters.com>
Thu, 23 Jan 2014 23:22:08 +0000
(
00:22
+0100)
committer
Dan Fandrich
<dan@coneharvesters.com>
Thu, 23 Jan 2014 23:22:08 +0000
(
00:22
+0100)
lib/multi.c
patch
|
blob
|
history
diff --git
a/lib/multi.c
b/lib/multi.c
index dc7776cde2efd33deccaca310a629026b7eb6fed..398be37a9d8cb021b1b07e9b99d7a92b34bee0d5 100644
(file)
--- a/
lib/multi.c
+++ b/
lib/multi.c
@@
-329,6
+329,7
@@
struct Curl_multi *Curl_multi_handle(int hashsize, /* socket hash */
multi->conn_cache = NULL;
Curl_close(multi->closure_handle);
multi->closure_handle = NULL;
+ Curl_llist_destroy(multi->msglist, NULL);
free(multi);
return NULL;