From 4b4062aaebb8c945a4b29587229a98946c9edaa3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 13 Dec 2018 15:06:17 +0100 Subject: [PATCH] gopher: fix memory leak from 9026083ddb2a9 --- lib/gopher.c | 1 + 1 file changed, 1 insertion(+) 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;