diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-12-13 15:06:17 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-12-13 15:06:17 +0100 |
commit | 4b4062aaebb8c945a4b29587229a98946c9edaa3 (patch) | |
tree | 3d7fa894bcdbbbd5b9227ed84c17084c2becd044 | |
parent | 3997510eed6f986cef5898cf7d4485e7acfa3a14 (diff) | |
download | curl-4b4062aaebb8c945a4b29587229a98946c9edaa3.tar.gz |
gopher: fix memory leak from 9026083ddb2a9
-rw-r--r-- | lib/gopher.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gopher.c b/lib/gopher.c index 151bac1ad..485b4b79a 100644 --- a/lib/gopher.c +++ b/lib/gopher.c @@ -102,6 +102,7 @@ static CURLcode gopher_do(struct connectdata *conn, bool *done) if(strlen(gopherpath) <= 2) { sel = (char *)""; len = strlen(sel); + free(gopherpath); } else { char *newp; |