mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
tests:glupload: fix caps memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=758039
This commit is contained in:
parent
7a75684566
commit
606e3dee98
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue