diff --git a/src/fe-text/statusbar.c b/src/fe-text/statusbar.c index b1eb1454..75aec846 100644 --- a/src/fe-text/statusbar.c +++ b/src/fe-text/statusbar.c @@ -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}"); } } diff --git a/src/irc/core/channels-query.c b/src/irc/core/channels-query.c index 28a1cce7..035eaa4a 100644 --- a/src/irc/core/channels-query.c +++ b/src/irc/core/channels-query.c @@ -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)