Skip to content

Commit 0e39a8f

Browse files
committed
net: free the url's query component
1 parent 0b8358c commit 0e39a8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/net.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ void git_net_url_dispose(git_net_url *url)
405405
git__free(url->host); url->host = NULL;
406406
git__free(url->port); url->port = NULL;
407407
git__free(url->path); url->path = NULL;
408+
git__free(url->query); url->query = NULL;
408409
git__free(url->username); url->username = NULL;
409410
git__free(url->password); url->password = NULL;
410411
}

0 commit comments

Comments
 (0)