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

@@ -403,8 +403,7 @@ server_inline (server *serv, char *line, int len)
/* let proto-irc.c handle it */
serv->p_inline (serv, line, len);
if (utf_line_allocated != NULL) /* only if a special copy was allocated */
g_free (utf_line_allocated);
g_free (utf_line_allocated);
}
/* read data from socket */