diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -321,6 +321,7 @@ CURLcode Curl_open(struct SessionHandle **curl) malloc(sizeof(struct connectdata *) * data->state.numconnects); if(!data->state.connects) { + free(data->state.headerbuff); free(data); return CURLE_OUT_OF_MEMORY; } |