Don't forget to set the freefunc of buffers

Partially fixes bug #585551.
This commit is contained in:
Sebastian Dröge 2009-06-17 13:36:53 +02:00
parent 742ac92b7b
commit 1c1fe228b4

View file

@ -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