mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Fixed a small memory leak when connected to same network twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2343 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
16693c461f
commit
d74d284463
@ -171,6 +171,7 @@ static void event_connected(SERVER_REC *server)
|
||||
if (channel_find_servers(chatnet_servers, rec->name) == NULL)
|
||||
g_string_sprintfa(chans, "%s,", rec->name);
|
||||
}
|
||||
g_slist_free(chatnet_servers);
|
||||
|
||||
if (chans->len > 0) {
|
||||
g_string_truncate(chans, chans->len-1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user