mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 23:18:52 +00:00
tests:gstinfo: Fix string memory leak
info_fourcc test leaks string. https://bugzilla.gnome.org/show_bug.cgi?id=761071
This commit is contained in:
parent
afaeec665a
commit
ca97a9882f
1 changed files with 1 additions and 0 deletions
|
@ -417,6 +417,7 @@ GST_START_TEST (info_fourcc)
|
||||||
cmp = ".bcd";
|
cmp = ".bcd";
|
||||||
res = g_strdup_printf ("%" GST_FOURCC_FORMAT, GST_FOURCC_ARGS (0x646362a9));
|
res = g_strdup_printf ("%" GST_FOURCC_FORMAT, GST_FOURCC_ARGS (0x646362a9));
|
||||||
fail_unless_equals_string (res, cmp);
|
fail_unless_equals_string (res, cmp);
|
||||||
|
g_free (res);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
Loading…
Reference in a new issue