tests:glupload: fix caps memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=758039
This commit is contained in:
Vineeth TM 2015-11-13 11:04:34 +09:00 committed by Tim-Philipp Müller
parent 7a75684566
commit 606e3dee98

View file

@ -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);
}