mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
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:
parent
54e4baa523
commit
651fa00c12
1 changed files with 3 additions and 2 deletions
|
@ -1085,9 +1085,10 @@ DISCOVERER_INFO_ACCESSOR_CODE (toc, const GstToc *, NULL);
|
||||||
*
|
*
|
||||||
* Get the installer details for missing elements
|
* 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
|
* 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
|
* Since: 1.4
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue