tests:gstinfo: Fix string memory leak
authorVineeth TM <vineeth.tm@samsung.com>
Mon, 25 Jan 2016 03:09:54 +0000 (12:09 +0900)
committerThiago Santos <thiagoss@osg.samsung.com>
Mon, 25 Jan 2016 12:41:41 +0000 (09:41 -0300)
info_fourcc test leaks string.

https://bugzilla.gnome.org/show_bug.cgi?id=761071

tests/check/gst/gstinfo.c

index 4a6d483..763a223 100644 (file)
@@ -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;