summaryrefslogtreecommitdiff
path: root/plugins/TranslitSwitcher
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-12-12 17:59:36 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-12-12 17:59:36 +0000
commit4e02f499326971bce39ee041f336043431ad3913 (patch)
tree0160ced0e4cf643abe590f48f0db2157296fb2fc /plugins/TranslitSwitcher
parent58b2bcb0e39fde6c46b1b41c2eefdb6f505ffb17 (diff)
TranslitSwitcher: warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@11353 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TranslitSwitcher')
-rw-r--r--plugins/TranslitSwitcher/src/Layoutproc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TranslitSwitcher/src/Layoutproc.cpp b/plugins/TranslitSwitcher/src/Layoutproc.cpp
index 6a7a918a1a..30cdbba865 100644
--- a/plugins/TranslitSwitcher/src/Layoutproc.cpp
+++ b/plugins/TranslitSwitcher/src/Layoutproc.cpp
@@ -565,9 +565,9 @@ void TranslitLayout(bool lastword)
}
SendMessage(hwnd2, EM_SETSEL, (WPARAM)dwStart, (LPARAM)dwEnd);
+ mir_free(boo);
}
mir_free(sel);
- mir_free(boo);
}
void InvertCase(bool lastword)
@@ -633,9 +633,9 @@ void InvertCase(bool lastword)
}
SendMessage(hwnd2, EM_SETSEL, (WPARAM)dwStart, (LPARAM)dwEnd);
+ mir_free(boo);
}
mir_free(sel);
- mir_free(boo);
}
int OnButtonPressed(WPARAM, LPARAM lParam)