gst/gstbuffer.c: Implement poisoning for GstBuffer if --enable-poisoning is specified.
authorSebastian Dröge <slomo@circular-chaos.org>
Thu, 13 Sep 2007 08:42:55 +0000 (08:42 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 13 Sep 2007 08:42:55 +0000 (08:42 +0000)
commit93634c30c28b64bc0dbd898f04dd57804b10432f
tree6b2c53edc087854c1a154f37ddb427749bf8a3cb
parentb598394d3ba6be0d9d2bbdfc263672d6eec7a6a8
gst/gstbuffer.c: Implement poisoning for GstBuffer if --enable-poisoning is specified.

Original commit message from CVS:
* gst/gstbuffer.c: (gst_buffer_finalize):
Implement poisoning for GstBuffer if --enable-poisoning is specified.
When finalizing a buffer the complete struct is filled with 0xff,
thus making a use of the buffer after the final unref impossible.
ChangeLog
gst/gstbuffer.c