[gst-devel] Freeing application data from message

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Jul 6 09:50:49 CEST 2010


On Mon, 2010-07-05 at 09:10 -0700, Robert Powell wrote:
> 
> According to the docs, gst_message_new_application will take ownership
> of the structure, so you should release it after you call
> gst_message_new_application.

Quite the opposite, gst_message_new_application() takes ownership of the
structure, so you *don't* have to release it afterwards, the
GstStructure will be freed when the message gets freed.

 Cheers
  -Tim






More information about the gstreamer-devel mailing list