summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-29 17:07:05 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-29 17:07:05 (EDT)
commitd0f89e834922708596d25f7d78801603493a0321 (patch)
treea644a86a48ed303c022119fe8708ef4fa6f60f2d
parenta1fa82f65eceddd76861ce132c8b1b9a458eb0de (diff)
downloadmarquee-d0f89e834922708596d25f7d78801603493a0321.zip
marquee-d0f89e834922708596d25f7d78801603493a0321.tar.gz
marquee-d0f89e834922708596d25f7d78801603493a0321.tar.bz2
mq_about_request(): Free duplicated query string
-rw-r--r--src/about.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/about.c b/src/about.c
index 26ea0a7..192290a 100644
--- a/src/about.c
+++ b/src/about.c
@@ -65,6 +65,7 @@ mq_about_request(WebKitURISchemeRequest *request, MqApplication *application)
if (query_str && query_str[1]) {
query_str = g_strdup(query_str + 1);
query = parse_query_string(query_str);
+ g_free(query_str);
} else {
query = NULL;
}