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:
Michael Smith 2007-09-26 17:00:22 +00:00
parent e366375d27
commit aacc87e07c
2 changed files with 9 additions and 4 deletions

View file

@ -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>
* docs/gst/gstreamer-sections.txt:

View file

@ -192,10 +192,6 @@ gst_buffer_finalize (GstBuffer * buffer)
g_free (buffer->malloc_data);
gst_caps_replace (&GST_BUFFER_CAPS (buffer), NULL);
#ifdef USE_POISONING
memset (buffer, 0xff, sizeof (GstBuffer));
#endif
}
/**