aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-29 10:11:21 -0500
committerTed Gould <ted@canonical.com>2009-04-29 10:11:21 -0500
commit89235a43e3b1af7f57d1fdbc87021ea49e1d5d05 (patch)
tree990ad34da819e36d1e09e75937d17b2c08452fdb
parent70223e1d54fab55b322a216073f5f2a74e02ffc8 (diff)
downloadlibayatana-indicator-89235a43e3b1af7f57d1fdbc87021ea49e1d5d05.tar.gz
libayatana-indicator-89235a43e3b1af7f57d1fdbc87021ea49e1d5d05.tar.bz2
libayatana-indicator-89235a43e3b1af7f57d1fdbc87021ea49e1d5d05.zip
Patch from Niel Patel to close the directory after opening it.
-rw-r--r--src/applet-main.c1
1 files changed, 1 insertions, 0 deletions
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) {