docs: clarify that return value of gst_filename_to_uri() must be freed

https://bugzilla.gnome.org/show_bug.cgi?id=747104
This commit is contained in:
Tim-Philipp Müller 2015-04-16 13:41:20 +01:00
parent a3b42ec42a
commit ac8a8f90b3

View file

@ -927,6 +927,9 @@ file_path_contains_relatives (const gchar * path)
* will be canonicalised so that it doesn't contain any './' or '../' segments.
*
* On Windows #filename should be in UTF-8 encoding.
*
* Returns: newly-allocated URI string, or NULL on error. The caller must
* free the URI string with g_free() when no longer needed.
*/
gchar *
gst_filename_to_uri (const gchar * filename, GError ** error)