aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gopher.c1
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;