mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-03 10:43:55 +00:00
gst/gstbuffer.c: Make it once again possible to free GstBuffers in the default build.
Original commit message from CVS: * gst/gstbuffer.c: (gst_buffer_finalize): Make it once again possible to free GstBuffers in the default build. The poisoning scribbles on parts of the miniobject we need in order to free it. Fixes #480341
This commit is contained in:
parent
e366375d27
commit
aacc87e07c
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2007-09-26 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
|
* gst/gstbuffer.c: (gst_buffer_finalize):
|
||||||
|
Make it once again possible to free GstBuffers in the default
|
||||||
|
build.
|
||||||
|
The poisoning scribbles on parts of the miniobject we need in
|
||||||
|
order to free it.
|
||||||
|
Fixes #480341
|
||||||
|
|
||||||
2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
|
2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* docs/gst/gstreamer-sections.txt:
|
* docs/gst/gstreamer-sections.txt:
|
||||||
|
|
|
@ -192,10 +192,6 @@ gst_buffer_finalize (GstBuffer * buffer)
|
||||||
g_free (buffer->malloc_data);
|
g_free (buffer->malloc_data);
|
||||||
|
|
||||||
gst_caps_replace (&GST_BUFFER_CAPS (buffer), NULL);
|
gst_caps_replace (&GST_BUFFER_CAPS (buffer), NULL);
|
||||||
|
|
||||||
#ifdef USE_POISONING
|
|
||||||
memset (buffer, 0xff, sizeof (GstBuffer));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue