mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +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->malloc_data = buffer->data = new_data;
|
||||||
buffer->size = size;
|
buffer->size = size;
|
||||||
buffer->free_func = NULL;
|
buffer->free_func = g_free;
|
||||||
}
|
}
|
||||||
|
|
||||||
guint
|
guint
|
||||||
|
|
Loading…
Reference in a new issue