summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-extensions.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-07-20 13:34:53 +0300
committerMonsta <[email protected]>2015-07-20 13:37:06 +0300
commitef5065ad9422477f1c35703f34d9bef53279a7ba (patch)
treee8550e1a5de95f03fbc0323804174dd38fcbe161 /libcaja-private/caja-extensions.c
parent8214c04737f1f9d5a7234fda9664584df8939384 (diff)
downloadcaja-ef5065ad9422477f1c35703f34d9bef53279a7ba.tar.bz2
caja-ef5065ad9422477f1c35703f34d9bef53279a7ba.tar.xz
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
Diffstat (limited to 'libcaja-private/caja-extensions.c')
-rw-r--r--libcaja-private/caja-extensions.c2
1 files changed, 1 insertions, 1 deletions
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;
}