diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-12-06 12:29:51 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-12-06 12:29:51 +0000 |
commit | a644a200c1e97f4415a8d220572555e32d74689e (patch) | |
tree | 87630ea09abf2d3ddf2251c8513e2a9e50ff348a /src/fe-text/mainwindows.c | |
parent | 861781bac5853802ffdf4b2bb75351f31b7feae5 (diff) | |
download | irssi-a644a200c1e97f4415a8d220572555e32d74689e.zip |
Fix leak introduced in r1855.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4946 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/mainwindows.c')
-rw-r--r-- | src/fe-text/mainwindows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c index 125fea97..fa1bb330 100644 --- a/src/fe-text/mainwindows.c +++ b/src/fe-text/mainwindows.c @@ -356,8 +356,8 @@ static void mainwindows_resize_smaller(int xdiff, int ydiff) GSList *sorted, *tmp; int space; + sorted = mainwindows_get_sorted(TRUE); for (;;) { - sorted = mainwindows_get_sorted(TRUE); space = 0; for (tmp = mainwindows; tmp != NULL; tmp = tmp->next) { rec = tmp->data; |