mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
tests/lc3: Allocate the same size for the buffer and the data
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7631>
This commit is contained in:
parent
384cb299ec
commit
ab54e45f67
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ static GstBuffer *
|
|||
create_test_buffer (guint64 num, guint64 size)
|
||||
{
|
||||
GstBuffer *buffer;
|
||||
guint64 *data = g_malloc (sizeof (guint64));
|
||||
guint64 *data = g_malloc (size);
|
||||
|
||||
*data = num;
|
||||
|
||||
|
|
Loading…
Reference in a new issue