summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/about.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/about.c b/src/about.c
index 192290a..a4b4d39 100644
--- a/src/about.c
+++ b/src/about.c
@@ -65,7 +65,6 @@ 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;
}
@@ -79,6 +78,8 @@ mq_about_request(WebKitURISchemeRequest *request, MqApplication *application)
return;
}
+ g_free(query_str);
+
webkit_uri_scheme_request_finish(request, stream, stream_length,
"text/html");
g_object_unref(stream);