summaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'init.cpp')
-rw-r--r--init.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.cpp b/init.cpp
index b5471d8..97d1db1 100644
--- a/init.cpp
+++ b/init.cpp
@@ -18,7 +18,7 @@
//global variables
bool bAppendTags = false;
-TCHAR *inopentag, *inclosetag, *outopentag, *outclosetag;
+TCHAR *inopentag = NULL, *inclosetag = NULL, *outopentag = NULL, *outclosetag = NULL, *password = NULL;
list <JabberAccount*> Accounts;
@@ -185,5 +185,7 @@ extern "C" int __declspec(dllexport) Unload(void)
mir_free(inclosetag);
mir_free(outopentag);
mir_free(outclosetag);
+ if(password)
+ delete [] password;
return 0;
}