mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 11:32:51 +00:00
imagecapturebin: Don't leak message in the unit test
This commit is contained in:
parent
b297490b2a
commit
16b1b967ad
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ GST_START_TEST (test_simple_capture)
|
|||
GST_MESSAGE_EOS | GST_MESSAGE_ERROR);
|
||||
fail_unless (msg != NULL);
|
||||
fail_unless (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_EOS);
|
||||
gst_message_unref (msg);
|
||||
|
||||
/* check there are N_BUFFERS files */
|
||||
for (i = 0; i < N_BUFFERS; i++) {
|
||||
|
|
Loading…
Reference in a new issue