From ef5065ad9422477f1c35703f34d9bef53279a7ba Mon Sep 17 00:00:00 2001 From: Monsta Date: Mon, 20 Jul 2015 13:34:53 +0300 Subject: removed useless call to g_list_free - first, we must not free the list of extensions at this point - second, the call did nothing as the argument is NULL after exiting the for loop --- libcaja-private/caja-extensions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcaja-private/caja-extensions.c b/libcaja-private/caja-extensions.c index cc167c5c..7f4791ec 100644 --- a/libcaja-private/caja-extensions.c +++ b/libcaja-private/caja-extensions.c @@ -179,7 +179,7 @@ caja_extensions_get_for_type (GType type) } } } - g_list_free (l); + return ret; } -- cgit v1.2.1