From ac8a8f90b3249706292e1edc1372184a5e77171c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 16 Apr 2015 13:41:20 +0100 Subject: [PATCH] docs: clarify that return value of gst_filename_to_uri() must be freed https://bugzilla.gnome.org/show_bug.cgi?id=747104 --- gst/gsturi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/gsturi.c b/gst/gsturi.c index 9a04dcb8b4..3d78562656 100644 --- a/gst/gsturi.c +++ b/gst/gsturi.c @@ -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)