mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 21:28:45 +00:00
Don't forget to set the freefunc of buffers
Partially fixes bug #585551.
This commit is contained in:
parent
742ac92b7b
commit
1c1fe228b4
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ gstsharp_gst_buffer_set_data (GstBuffer * buffer, guint8 * new_data, guint size)
|
|||
|
||||
buffer->malloc_data = buffer->data = new_data;
|
||||
buffer->size = size;
|
||||
buffer->free_func = NULL;
|
||||
buffer->free_func = g_free;
|
||||
}
|
||||
|
||||
guint
|
||||
|
|
Loading…
Reference in a new issue