From: Sebastian Dröge Date: Sun, 19 Dec 2010 08:53:08 +0000 (+0100) Subject: rtsp: Fix memory leaks in the gst_rtsp_url_decode_path_components() unit tests X-Git-Tag: 1.19.3~511^2~6555^2~1307 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e35df72b6209db88749d56633ebe6049da217eb;p=platform%2Fupstream%2Fgstreamer.git rtsp: Fix memory leaks in the gst_rtsp_url_decode_path_components() unit tests --- diff --git a/tests/check/libs/rtsp.c b/tests/check/libs/rtsp.c index fa26eea..377f277 100644 --- a/tests/check/libs/rtsp.c +++ b/tests/check/libs/rtsp.c @@ -68,6 +68,7 @@ GST_START_TEST (test_rtsp_url_components_1) fail_unless (!strcmp (comps[1], "foo")); fail_unless (!strcmp (comps[2], "bar")); + g_strfreev (comps); gst_rtsp_url_free (url); } @@ -90,6 +91,7 @@ GST_START_TEST (test_rtsp_url_components_2) fail_unless (!strcmp (comps[1], "foo/bar")); fail_unless (!strcmp (comps[2], "qux baz")); + g_strfreev (comps); gst_rtsp_url_free (url); } @@ -112,6 +114,7 @@ GST_START_TEST (test_rtsp_url_components_3) fail_unless (!strcmp (comps[1], "foo%00bar")); fail_unless (!strcmp (comps[2], "qux baz")); + g_strfreev (comps); gst_rtsp_url_free (url); }