Fix some leaks

This commit is contained in:
TingPing
2014-02-12 10:28:53 -05:00
parent ba399eb7f9
commit b17c0276de
6 changed files with 16 additions and 0 deletions

View File

@@ -176,6 +176,9 @@ userlist_button_cb (GtkWidget * button, char *cmd)
if (num_sel < 1)
{
nick_command_parse (sess, cmd, "", "");
if (nicks)
free (nicks);
return;
}
}