projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
downloadbuffer, benchmarks: fix error leaks in failure code paths
[platform/upstream/gstreamer.git]
/
libs
/
gst
/
check
/
gstcheck.c
diff --git
a/libs/gst/check/gstcheck.c
b/libs/gst/check/gstcheck.c
index
f019da8
..
1095bcc
100644
(file)
--- a/
libs/gst/check/gstcheck.c
+++ b/
libs/gst/check/gstcheck.c
@@
-794,6
+794,7
@@
gst_check_abi_list (GstCheckABIStruct list[], gboolean have_abi_sizes)
if (!g_file_set_contents (fn, s->str, s->len, &err)) {
g_print ("%s", s->str);
g_printerr ("\nFailed to write ABI information: %s\n", err->message);
+ g_clear_error (&err);
} else {
g_print ("\nWrote ABI information to '%s'.\n", fn);
}