summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-12-29 10:05:14 -0600
committerEdward Thomson <ethomson@edwardthomson.com>2020-01-24 10:16:36 -0600
commit0e39a8faf9082634e1d2ff91d5c944bd9cb5476b (patch)
tree068cac2d9ed25a02f13d0fb7e49b520f11cad952 /src
parent0b8358c8d17b984efe3fb2700c0bab563e7e5477 (diff)
downloadlibgit2-0e39a8faf9082634e1d2ff91d5c944bd9cb5476b.tar.gz
net: free the url's query component
Diffstat (limited to 'src')
-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;
}