projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a75684
)
tests:glupload: fix caps memory leak
author
Vineeth TM
<vineeth.tm@samsung.com>
Fri, 13 Nov 2015 02:04:34 +0000
(11:04 +0900)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:11 +0000
(19:32 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=758039
tests/check/libs/gstglupload.c
patch
|
blob
|
history
diff --git
a/tests/check/libs/gstglupload.c
b/tests/check/libs/gstglupload.c
index
d048196
..
f6e1d2b
100644
(file)
--- a/
tests/check/libs/gstglupload.c
+++ b/
tests/check/libs/gstglupload.c
@@
-185,6
+185,8
@@
GST_START_TEST (test_upload_data)
i++;
}
+ gst_caps_unref (in_caps);
+ gst_caps_unref (out_caps);
gst_buffer_unref (inbuf);
gst_buffer_unref (outbuf);
}
@@
-239,6
+241,8
@@
GST_START_TEST (test_upload_buffer)
i++;
}
+ gst_caps_unref (in_caps);
+ gst_caps_unref (out_caps);
gst_buffer_unref (buffer);
gst_buffer_unref (outbuf);
}