summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2016-01-26 20:29:06 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2016-01-26 20:29:06 +0000
commit1da2c875e9be6506bf9214b4b65c4b7d9d9b2c36 (patch)
tree917f6704c822ea5a19bdf592d7f84aa079f4d854 /plugins
parentb98e8e8bfffc389b2a40ee30925f39252ed42ef6 (diff)
MirOTR: Correct version of [14690] (thx White-Tiger)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16174 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MirOTR/src/options.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/MirOTR/src/options.cpp b/plugins/MirOTR/src/options.cpp
index ae2e741ee9..456635bf13 100644
--- a/plugins/MirOTR/src/options.cpp
+++ b/plugins/MirOTR/src/options.cpp
@@ -243,6 +243,7 @@ static unsigned int CALLBACK regen_key_thread(void* param)
if (IDYES == MessageBox(opts->refresh, buff, TranslateT(LANG_OTR_INFO), MB_ICONQUESTION|MB_YESNO)) {
char* proto = mir_t2a(opts->proto);
otr_gui_create_privkey(0, proto, proto);
+ mir_free(proto);
SendMessage(opts->refresh, WMU_REFRESHPROTOLIST, 0, 0);
}
EnableWindow(opts->refresh, TRUE);