From: Sebastian Dröge Date: Sun, 29 Jun 2014 19:57:32 +0000 (+0200) Subject: glupload: Fix memory leak in unit test X-Git-Tag: 1.16.2~955^2~1370 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ba2288f3edffaf8e22e726c1144c5470c4b2085;p=platform%2Fupstream%2Fgst-plugins-base.git glupload: Fix memory leak in unit test --- diff --git a/tests/check/libs/gstglupload.c b/tests/check/libs/gstglupload.c index 5c014a4..1960b1e 100644 --- a/tests/check/libs/gstglupload.c +++ b/tests/check/libs/gstglupload.c @@ -338,6 +338,7 @@ GST_START_TEST (test_upload_meta_producer) gst_object_unref (upload_meta); gst_gl_context_del_texture (context, &tex_ids[0]); + gst_buffer_unref (buffer); } GST_END_TEST;