summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gaugler <thomas@dadie.net>2016-12-29 23:15:08 +0100
committerDidier Raboud <odyx@debian.org>2017-09-04 11:44:54 +0200
commit2b0c5412940793ccd27c5f50cd01ead4a23f7c2a (patch)
tree58c2396a184ca43b05c0d1e6766385d98b4ede29
parent7af7b894ea994c2f6d742b9446774d26fe8c8710 (diff)
Reset variables in CleanUp function
-rw-r--r--onInit.nsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/onInit.nsi b/onInit.nsi
index 61bd1d8..e21a6b3 100644
--- a/onInit.nsi
+++ b/onInit.nsi
@@ -71,6 +71,11 @@ Function `${UN}CleanUp`
!insertmacro ${BOOTCFG_PREFIX}ReleaseObject_Call "${UN}" $basebcdstore
!insertmacro ${BOOTCFG_PREFIX}ReleaseObject_Call "${UN}" $services
!insertmacro ${BOOTCFG_PREFIX}ReleaseObject_Call "${UN}" $locator
+ StrCpy $bcdstore ""
+ StrCpy $basebcdobject ""
+ StrCpy $basebcdstore ""
+ StrCpy $services ""
+ StrCpy $locator ""
FunctionEnd
!macroend