From 0fa28eb2fd87b0d40e333b60f3d2857beb6e4f7a Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 9 Jan 2014 00:16:36 -0600 Subject: [PATCH] No longer forget to call closedir() --- src/plugins/trash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/trash.c b/src/plugins/trash.c index ef175e9..01c2908 100644 --- a/src/plugins/trash.c +++ b/src/plugins/trash.c @@ -317,6 +317,7 @@ static void _trash_list(Trash * trash) TC_DELETED_DISPLAY, u, TC_UPDATED, TRUE, -1); g_free(p); } + closedir(dir); _list_purge(trash); config_delete(config); free(path);