mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
tests: fix leak in buffer test_wrapped_bytes test
This commit is contained in:
parent
5dc149f4f2
commit
dfd9fd7f82
1 changed files with 1 additions and 0 deletions
|
@ -918,6 +918,7 @@ GST_START_TEST (test_wrapped_bytes)
|
||||||
fail_unless (GST_MEMORY_IS_READONLY (mem));
|
fail_unless (GST_MEMORY_IS_READONLY (mem));
|
||||||
|
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
|
g_bytes_unref (bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
Loading…
Reference in a new issue