*_get_name inconstancy

Eric Trousset etrousset at awox.com
Wed Apr 16 03:13:12 PDT 2014

In gstreamer some _get_name function return const ghar*  and don't need to be freed whereas some others (the one ending up calling gst_object_get_name thru a #define) returns a gchar* and do need to be freed.

Wouldn't it be better if all the _get_name function had the same behavior?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140416/c51b55c8/attachment.html>

More information about the gstreamer-devel mailing list