[vlc-devel] [PATCH 3/4] NSIS: Close searches if it's completed

Daniel Amm da2424 at t-online.de
Fri Jan 22 19:08:58 CET 2016


---
 extras/package/win32/NSIS/helpers/install.nsh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/extras/package/win32/NSIS/helpers/install.nsh b/extras/package/win32/NSIS/helpers/install.nsh
index d604d2c..68adb79 100644
--- a/extras/package/win32/NSIS/helpers/install.nsh
+++ b/extras/package/win32/NSIS/helpers/install.nsh
@@ -25,6 +25,7 @@
     FindNext $0 $1
     Goto "${Index}-Loop"
   "${Index}-End:"
+  FindClose $0
   !undef Index
 !macroend
 
@@ -57,6 +58,7 @@ Function InstallFolderInternal
     FindNext $0 $1
     Goto "${Index}-Loop"
   "${Index}-End:"
+  FindClose $0
   !undef Index
 FunctionEnd
 ;;; End of Macros
-- 
2.7.0.windows.1



More information about the vlc-devel mailing list