summaryrefslogtreecommitdiff
path: root/lib/smb.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-06-29 23:11:43 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-06-29 23:13:09 +0200
commit6655e3069120cd069be9b7e2ff268342513c93bf (patch)
tree4b3170f3a52d38bbbab31bb1f2789b0afae9fbc6 /lib/smb.c
parente89489d8f4ceb869ae4e080b34053d4ecba22955 (diff)
downloadcurl-6655e3069120cd069be9b7e2ff268342513c93bf.tar.gz
conn: don't free easy handle data in handler->disconnect
Reported-by: Gou Lingfeng Bug: https://curl.haxx.se/mail/lib-2016-06/0139.html
Diffstat (limited to 'lib/smb.c')
-rw-r--r--lib/smb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/smb.c b/lib/smb.c
index 2ddbb2086..56a38c2f2 100644
--- a/lib/smb.c
+++ b/lib/smb.c
@@ -905,7 +905,6 @@ static CURLcode smb_disconnect(struct connectdata *conn, bool dead)
/* smb_done is not always called, so cleanup the request */
if(req) {
Curl_safefree(req->share);
- Curl_safefree(conn->data->req.protop);
}
return CURLE_OK;