From ca97a9882f79bbefd14bd5bcda572c3dab08db32 Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Mon, 25 Jan 2016 12:09:54 +0900 Subject: [PATCH] tests:gstinfo: Fix string memory leak info_fourcc test leaks string. https://bugzilla.gnome.org/show_bug.cgi?id=761071 --- tests/check/gst/gstinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/check/gst/gstinfo.c b/tests/check/gst/gstinfo.c index 4a6d483..763a223 100644 --- a/tests/check/gst/gstinfo.c +++ b/tests/check/gst/gstinfo.c @@ -417,6 +417,7 @@ GST_START_TEST (info_fourcc) cmp = ".bcd"; res = g_strdup_printf ("%" GST_FOURCC_FORMAT, GST_FOURCC_ARGS (0x646362a9)); fail_unless_equals_string (res, cmp); + g_free (res); } GST_END_TEST; -- 2.7.4