[Xfce4-commits] r25678 - in xfdesktop: branches/xfce_4_4 branches/xfce_4_4/panel-plugin trunk/panel-plugin
Brian Tarricone
kelnos at xfce.org
Sat May 5 20:10:37 CEST 2007
Author: kelnos
Date: 2007-05-05 18:10:37 +0000 (Sat, 05 May 2007)
New Revision: 25678
Modified:
xfdesktop/branches/xfce_4_4/NEWS
xfdesktop/branches/xfce_4_4/panel-plugin/desktop-menu-plugin.c
xfdesktop/trunk/panel-plugin/desktop-menu-plugin.c
Log:
fix memleak and 'too many open file descriptors' (missing xfce_rc_close())
(bug 3065)
Modified: xfdesktop/branches/xfce_4_4/NEWS
===================================================================
--- xfdesktop/branches/xfce_4_4/NEWS 2007-05-05 18:03:02 UTC (rev 25677)
+++ xfdesktop/branches/xfce_4_4/NEWS 2007-05-05 18:10:37 UTC (rev 25678)
@@ -2,6 +2,8 @@
=====
- Fixed the Italian xfdesktop menu causing a crash.
+- Fix missing xfce_rc_close() causing memleak and too many open file
+ descriptors (bug 3065)
4.4.1
=====
Modified: xfdesktop/branches/xfce_4_4/panel-plugin/desktop-menu-plugin.c
===================================================================
--- xfdesktop/branches/xfce_4_4/panel-plugin/desktop-menu-plugin.c 2007-05-05 18:03:02 UTC (rev 25677)
+++ xfdesktop/branches/xfce_4_4/panel-plugin/desktop-menu-plugin.c 2007-05-05 18:10:37 UTC (rev 25678)
@@ -486,6 +486,8 @@
dmp->show_button_title = xfce_rc_read_bool_entry(rcfile,
"show_button_title",
TRUE);
+
+ xfce_rc_close(rcfile);
}
static void
Modified: xfdesktop/trunk/panel-plugin/desktop-menu-plugin.c
===================================================================
--- xfdesktop/trunk/panel-plugin/desktop-menu-plugin.c 2007-05-05 18:03:02 UTC (rev 25677)
+++ xfdesktop/trunk/panel-plugin/desktop-menu-plugin.c 2007-05-05 18:10:37 UTC (rev 25678)
@@ -490,6 +490,8 @@
dmp->show_button_title = xfce_rc_read_bool_entry(rcfile,
"show_button_title",
TRUE);
+
+ xfce_rc_close(rcfile);
}
static void
More information about the Xfce4-commits
mailing list