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