Removed some unnecessary null-checks for calls to g_free and g_strfreev

This commit is contained in:
Arnavion
2014-12-08 21:24:59 -08:00
parent b7afcc3632
commit 65da34f19e
10 changed files with 48 additions and 91 deletions

View File

@@ -241,10 +241,8 @@ key_free (gpointer data)
g_return_if_fail (kb != NULL);
if (kb->data1)
g_free (kb->data1);
if (kb->data2)
g_free (kb->data2);
g_free (kb->data1);
g_free (kb->data2);
g_free (kb);
}