summaryrefslogtreecommitdiff
path: root/src/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.c')
-rw-r--r--src/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.c b/src/net.c
index 2e466b6aa..d42fce52d 100644
--- a/src/net.c
+++ b/src/net.c
@@ -405,6 +405,7 @@ void git_net_url_dispose(git_net_url *url)
git__free(url->host); url->host = NULL;
git__free(url->port); url->port = NULL;
git__free(url->path); url->path = NULL;
+ git__free(url->query); url->query = NULL;
git__free(url->username); url->username = NULL;
git__free(url->password); url->password = NULL;
}