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 */