From 6775fe2555e337f4435d579a301155c807375f55 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 8 Jun 2018 14:05:40 +0100 Subject: [PATCH] docs: Add (transfer full) annotation to g_content_type_get_mime_type() Signed-off-by: Philip Withnall https://gitlab.gnome.org/GNOME/glib/issues/811 --- gio/gcontenttype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gcontenttype.c b/gio/gcontenttype.c index af8ef44c6..57249d94e 100644 --- a/gio/gcontenttype.c +++ b/gio/gcontenttype.c @@ -405,8 +405,8 @@ g_content_type_get_description (const gchar *type) * * Gets the mime type for the content type, if one is registered. * - * Returns: (nullable): the registered mime type for the given @type, - * or %NULL if unknown. + * Returns: (nullable) (transfer full): the registered mime type for the + * given @type, or %NULL if unknown; free with g_free(). */ char * g_content_type_get_mime_type (const char *type)