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]
/
tests
/
benchmarks
/
gstbufferstress.c
diff --git
a/tests/benchmarks/gstbufferstress.c
b/tests/benchmarks/gstbufferstress.c
index
7871561
..
c9a4ac1
100644
(file)
--- a/
tests/benchmarks/gstbufferstress.c
+++ b/
tests/benchmarks/gstbufferstress.c
@@
-101,6
+101,7
@@
main (gint argc, gchar * argv[])
if (error) {
printf ("ERROR: g_thread_try_new() %s\n", error->message);
+ g_clear_error (&error);
exit (-1);
}
}