mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
Removed some unnecessary null-checks for calls to g_free and g_strfreev
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user