Fix documentation that incorrectly says a return value should be freed

The gst_discoverer_info_get_missing_elements_installer_details()
documentation and annotation says that the return value should be freed
with g_strfreev(), but actually it's owned by the GstDiscovereInfo
object and should definitely not get freed by the caller as well.

https://bugzilla.gnome.org/show_bug.cgi?id=742006
This commit is contained in:
Sam Thursfield 2014-12-26 20:48:55 +00:00 committed by Tim-Philipp Müller
parent 54e4baa523
commit 651fa00c12

View file

@ -1085,9 +1085,10 @@ DISCOVERER_INFO_ACCESSOR_CODE (toc, const GstToc *, NULL);
*
* Get the installer details for missing elements
*
* Returns: (transfer full) (array zero-terminated=1): An array of strings
* Returns: (transfer none) (array zero-terminated=1): An array of strings
* containing informations about how to install the various missing elements
* for @info to be usable. Free with g_strfreev().
* for @info to be usable. If you wish to use the strings after the life-time
* of @info, you will need to copy them.
*
* Since: 1.4
*/