GNOME Bugzilla – Bug 752991
h263parse: fix caps memory leak
Last modified: 2015-08-16 13:37:00 UTC
while setting the src caps, sink caps is being ref'ed but not unref'ed
Created attachment 308352 [details] [review] fix caps memory leak
With your patch applied: tpm@xps:~/gst/glib-master/gst-plugins-bad/tests/check$ make elements/h263parse.check Running suite(s): h263parse 0%: Checks: 4, Failures: 4, Errors: 0 gstcheck.c:79:F:general:test_parse_normal:0: Unexpected critical/warning: gst_mini_object_unref: assertion 'mini_object != NULL' failed gstcheck.c:79:F:general:test_parse_drain_single:0: Unexpected critical/warning: gst_mini_object_unref: assertion 'mini_object != NULL' failed gstcheck.c:79:F:general:test_parse_split:0: Unexpected critical/warning: gst_mini_object_unref: assertion 'mini_object != NULL' failed gstcheck.c:79:F:general:test_parse_detect_stream:0: Unexpected critical/warning: gst_mini_object_unref: assertion 'mini_object != NULL' failed Fixed by adding an if (sink_caps), but please run 'make check' before submitting patches. commit 9b43bed6073b72b1a66a43a260cf38b309fe8773 Author: Vineeth TM <vineeth.tm@samsung.com> Date: Wed Jul 29 12:56:54 2015 +0900 h263parse: fix caps memory leak https://bugzilla.gnome.org/show_bug.cgi?id=752991
Comment on attachment 308352 [details] [review] fix caps memory leak pushed with changes.
Okey will do that from next time.. thanks :)