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:
parent
d59dfd54b3
commit
5bab99f096
@ -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}");
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user