summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/variables.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-18 21:36:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-18 21:36:29 +0000
commit5142c25982c01f602268f647749957bcf63f7380 (patch)
tree77b8088067baa66a823982deb1fda5ac3158b099 /plugins/Variables/src/variables.cpp
parent62b1f33833883602232b40799f4ca42444e5f928 (diff)
some resource leaks fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@9855 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/src/variables.cpp')
-rw-r--r--plugins/Variables/src/variables.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Variables/src/variables.cpp b/plugins/Variables/src/variables.cpp
index b5d91709b3..93ab27ab9d 100644
--- a/plugins/Variables/src/variables.cpp
+++ b/plugins/Variables/src/variables.cpp
@@ -36,8 +36,8 @@ HCURSOR hCurSplitNS;
struct ParseOptions gParseOpts;
-TCHAR *getArguments(TCHAR *string, TCHAR ***aargv, int *aargc) {
-
+TCHAR* getArguments(TCHAR *string, TCHAR ***aargv, int *aargc)
+{
BOOL bDontParse, bNewArg, bDone;
TCHAR *cur, *scur, **argv;
int i, argc, brackets;
@@ -550,8 +550,8 @@ int LoadVarModule()
return 0;
}
-int UnloadVarModule() {
-
+int UnloadVarModule()
+{
UnhookEvent(hOptionsHook);
if (hIconsChangedHook != NULL)
UnhookEvent(hIconsChangedHook);