diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-12-29 10:05:14 -0600 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2020-01-24 10:16:36 -0600 |
commit | 0e39a8faf9082634e1d2ff91d5c944bd9cb5476b (patch) | |
tree | 068cac2d9ed25a02f13d0fb7e49b520f11cad952 | |
parent | 0b8358c8d17b984efe3fb2700c0bab563e7e5477 (diff) | |
download | libgit2-0e39a8faf9082634e1d2ff91d5c944bd9cb5476b.tar.gz |
net: free the url's query component
-rw-r--r-- | src/net.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |