mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
tests: typefindfunctions: fix error leaks
https://bugzilla.gnome.org/show_bug.cgi?id=757008
This commit is contained in:
parent
ab6b536a66
commit
04eeaef7a4
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,7 @@ typefind_test_file (const gchar * filename)
|
|||
GST_LOG ("reading file '%s'", path);
|
||||
if (!g_file_get_contents (path, &data, &data_len, &err)) {
|
||||
g_error ("error loading test file: %s", err->message);
|
||||
g_clear_error (&err);
|
||||
}
|
||||
|
||||
buf = gst_buffer_new ();
|
||||
|
|
Loading…
Reference in a new issue