Skip to content
Snippets Groups Projects
Unverified Commit 4b4062aa authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

gopher: fix memory leak from 9026083d

parent 3997510e
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment