tests: typefindfunctions: fix error leaks
https://bugzilla.gnome.org/show_bug.cgi?id=757008
This commit is contained in:
parent
ab6b536a66
commit
04eeaef7a4
@ -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…
x
Reference in New Issue
Block a user