fixed two minor memleaks. irc/bot directory isn't now build if you specify

--without-bot parameter to configure


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@294 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-04 20:54:33 +00:00 committed by cras
commit 80c03f4572
3 changed files with 13 additions and 4 deletions

View file

@ -143,11 +143,15 @@ static void cmd_window_prev(void)
static void cmd_window_level(const char *data)
{
char *level;
g_return_if_fail(data != NULL);
window_set_level(active_win, combine_level(active_win->level, data));
printtext(NULL, NULL, MSGLEVEL_CLIENTNOTICE, "Window level is now %s",
bits2level(active_win->level));
level = bits2level(active_win->level);
printtext(NULL, NULL, MSGLEVEL_CLIENTNOTICE, "Window level is now %s", level);
g_free(level);
}
static void cmd_window_server(const char *data)