diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-06-13 08:11:45 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-06-13 08:11:45 +0000 |
commit | 2488fff451863db7b18d7a4adf412536c1d864c6 (patch) | |
tree | 96eee4f197d41989fa65a2881a5571ea1c82f38f /lib | |
parent | 611f50fb7688344076b5bc4d305461e6dcca8a56 (diff) |
free-twice problem corrected
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -233,14 +233,12 @@ CURLcode curl_close(CURL *curl) void *protocol = data->proto.generic; - /* total session cleanup */ + /* total session cleanup (frees 'data' as well!)*/ urlfree(data, TRUE); if(protocol) free(protocol); - free(data); - return CURLE_OK; } |