From 65da34f19eab5edde0615ccc4a58be1947cfce6e Mon Sep 17 00:00:00 2001 From: Arnavion Date: Mon, 8 Dec 2014 21:24:59 -0800 Subject: Removed some unnecessary null-checks for calls to g_free and g_strfreev --- src/common/cfgfiles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/cfgfiles.c') diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 12b66ac4..020e3bc1 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -699,8 +699,8 @@ get_default_spell_languages (void) } } } - if (last != NULL) - g_free(last); + + g_free (last); if (lang_list[0]) return g_strdup (ret); -- cgit 1.4.1