summaryrefslogtreecommitdiff
path: root/plugins/TranslitSwitcher/src/Layoutproc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TranslitSwitcher/src/Layoutproc.cpp')
-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)