mirror of
https://github.com/curl/curl.git
synced 2026-07-25 02:47:17 +03:00
gopher: fix memory leak from 9026083ddb
This commit is contained in:
parent
3997510eed
commit
4b4062aaeb
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue