aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-10 14:55:37 -0600
committerTed Gould <ted@gould.cx>2011-03-10 14:55:37 -0600
commit454b91173c9cf0b43993b4b9304b7d8449cd8640 (patch)
tree3f727dfd972ac9d4f3bbf820ec3d3a94cbb92fa4
parent2426a2119ad12042da1c0c77cf578b9ae0f3ff43 (diff)
downloadayatana-indicator-session-454b91173c9cf0b43993b4b9304b7d8449cd8640.tar.gz
ayatana-indicator-session-454b91173c9cf0b43993b4b9304b7d8449cd8640.tar.bz2
ayatana-indicator-session-454b91173c9cf0b43993b4b9304b7d8449cd8640.zip
Closing the directory after we're done with it
-rw-r--r--src/session-service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/session-service.c b/src/session-service.c
index c25939a..72f2139 100644
--- a/src/session-service.c
+++ b/src/session-service.c
@@ -746,6 +746,7 @@ rebuild_items (DbusmenuMenuitem *root,
launchers = g_list_prepend(launchers, appinfo);
}
+ g_dir_close(extra_launchers_dir);
GList * launcher = NULL;
for (launcher = launchers; launcher != NULL; launcher = g_list_next(launcher)) {