[vlc-commits] NSIS: Close searches if it's completed

Daniel Amm git at videolan.org
Fri Jan 22 23:25:29 CET 2016


vlc | branch: master | Daniel Amm <da2424 at t-online.de> | Fri Jan 22 19:08:58 2016 +0100| [0b2767bd7de95c1e4001d0a30a1f420b414024b7] | committer: Jean-Baptiste Kempf

NSIS: Close searches if it's completed

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0b2767bd7de95c1e4001d0a30a1f420b414024b7
---

 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



More information about the vlc-commits mailing list