1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Fixed 2 small memory leaks.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2209 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-12-07 04:27:32 +00:00 committed by cras
parent d59dfd54b3
commit 5bab99f096
2 changed files with 3 additions and 0 deletions

View File

@ -515,6 +515,7 @@ STATUSBAR_REC *statusbar_create(STATUSBAR_GROUP_REC *group,
if (*value == '\0') {
/* fallback to default statusbar background
(also provides backwards compatibility..) */
g_free(value);
value = theme_format_expand(theme, "{sb_background}");
}
}

View File

@ -483,6 +483,8 @@ static void event_end_of_who(IRC_SERVER_REC *server, const char *data)
send them again separately */
query_current_error(server);
}
g_free(params);
}
static void event_end_of_banlist(IRC_SERVER_REC *server, const char *data)