From 89235a43e3b1af7f57d1fdbc87021ea49e1d5d05 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 29 Apr 2009 10:11:21 -0500 Subject: Patch from Niel Patel to close the directory after opening it. --- src/applet-main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/applet-main.c b/src/applet-main.c index 310cfe9..535a6ae 100644 --- a/src/applet-main.c +++ b/src/applet-main.c @@ -251,6 +251,7 @@ applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data) if (load_module(name, menubar)) indicators_loaded++; } + g_dir_close (dir); } if (indicators_loaded == 0) { -- cgit v1.2.3