summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2013-09-01 09:48:59 +0000
committerJuan A. Suarez Romero <jasuarez@igalia.com>2013-09-01 09:51:21 +0000
commit9a38b0d35d0486ddd051c6144a659877a67c440f (patch)
treeafb8ea8b3d7b143813da851d60fea020c8b0bfe9 /libs
parent6e878f6e04bd88217043b586a9de021423205078 (diff)
downloadgrilo-9a38b0d35d0486ddd051c6144a659877a67c440f.tar.gz
net: Pull some leaks
Diffstat (limited to 'libs')
-rw-r--r--libs/net/grl-net-mock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/net/grl-net-mock.c b/libs/net/grl-net-mock.c
index 5795047..6541947 100644
--- a/libs/net/grl-net-mock.c
+++ b/libs/net/grl-net-mock.c
@@ -67,6 +67,7 @@ get_url_mocked (GrlNetWc *self,
soup_uri_set_query (uri, *new_query ? new_query : NULL);
new_url = soup_uri_to_string (uri, FALSE);
soup_uri_free (uri);
+ g_free (new_query);
} else {
new_url = g_strdup (url);
}
@@ -230,6 +231,9 @@ void init_mock_requester (GrlNetWc *self)
"for ignored query parameters: %s", error->message);
g_clear_error (&error);
}
+
+ g_strfreev (parameter_names);
+ g_string_free (pattern, TRUE);
}
/* Find base path for mock data. */