From 54414b2176848c0c38e69850f222f703ba7c0b0f Mon Sep 17 00:00:00 2001 From: David Hampton Date: Sat, 28 Jun 2003 06:17:49 +0000 Subject: [PATCH] Fix small memory leak. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8785 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnc-module/gnc-module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gnc-module/gnc-module.c b/src/gnc-module/gnc-module.c index 9ff3e4b053..ab1a2938af 100644 --- a/src/gnc-module/gnc-module.c +++ b/src/gnc-module/gnc-module.c @@ -219,6 +219,7 @@ gnc_module_system_refresh(void) g_free(fullpath); } } + closedir(d); } } /* free the search dir strings */