mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
h264parse: Fix memory leak in unit test
This commit is contained in:
parent
dcccabfe22
commit
225f03f80e
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ verify_buffer (buffer_verify_data_s * vdata, GstBuffer * buffer)
|
|||
vdata->data_to_verify_size - 1);
|
||||
fail_unless (gst_buffer_memcmp (buffer, 0, vdata->data_to_verify + 1,
|
||||
vdata->data_to_verify_size - 1) == 0);
|
||||
gst_buffer_unmap (buffer, &map);
|
||||
return TRUE;
|
||||
} else if (GST_READ_UINT32_BE (map.data) == 0x01) {
|
||||
/* this is not avc, use default tests from parser.c */
|
||||
|
|
Loading…
Reference in a new issue