From b6cadd5388333c9c035d80b4a1511dab26a820af Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 26 May 2000 15:28:13 +0000 Subject: fixed a crash (first cvs commit in home for 2 months :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@244 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irc') diff --git a/src/irc/core/irc-server.c b/src/irc/core/irc-server.c index 6bfdff39..4e3ecfd1 100644 --- a/src/irc/core/irc-server.c +++ b/src/irc/core/irc-server.c @@ -346,7 +346,7 @@ static int sig_set_user_mode(IRC_SERVER_REC *server) modes_join(server->usermode, mode); if (server->usermode == NULL || strcmp(newmode, server->usermode) != 0) irc_send_cmdv(server, "MODE %s %s", server->nick, mode); - g_free(newmode); + g_free_not_null(newmode); return 0; } -- cgit v1.2.3