From a644a200c1e97f4415a8d220572555e32d74689e Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Sat, 6 Dec 2008 12:29:51 +0000 Subject: [PATCH] Fix leak introduced in r1855. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4946 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/mainwindows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;