Unverified Commit 4b4062aa authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

gopher: fix memory leak from 9026083d

parent 3997510e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;