diff options
author | Juan A. Suarez Romero <jasuarez@igalia.com> | 2013-09-01 09:48:59 +0000 |
---|---|---|
committer | Juan A. Suarez Romero <jasuarez@igalia.com> | 2013-09-01 09:51:21 +0000 |
commit | 9a38b0d35d0486ddd051c6144a659877a67c440f (patch) | |
tree | afb8ea8b3d7b143813da851d60fea020c8b0bfe9 /libs | |
parent | 6e878f6e04bd88217043b586a9de021423205078 (diff) | |
download | grilo-9a38b0d35d0486ddd051c6144a659877a67c440f.tar.gz |
net: Pull some leaks
Diffstat (limited to 'libs')
-rw-r--r-- | libs/net/grl-net-mock.c | 4 |
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. */ |