From 1da2c875e9be6506bf9214b4b65c4b7d9d9b2c36 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 26 Jan 2016 20:29:06 +0000 Subject: MirOTR: Correct version of [14690] (thx White-Tiger) git-svn-id: http://svn.miranda-ng.org/main/trunk@16174 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirOTR/src/options.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3