diff options
author | Timo Sirainen <cras@irssi.org> | 2000-05-26 15:28:13 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-05-26 15:28:13 +0000 |
commit | b6cadd5388333c9c035d80b4a1511dab26a820af (patch) | |
tree | f102a1c38c01cbbe932a2acaadb26aae800635a8 /src/irc | |
parent | dc61a24934b20d6e17a77a7c310bee811234363b (diff) | |
download | irssi-b6cadd5388333c9c035d80b4a1511dab26a820af.zip |
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
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/irc-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |