net: free the url's query component
diff --git a/src/net.c b/src/net.c
index 2e466b6..d42fce5 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;
}