summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/svcs_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR/src/svcs_menu.cpp')
-rw-r--r--plugins/MirOTR/src/svcs_menu.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/MirOTR/src/svcs_menu.cpp b/plugins/MirOTR/src/svcs_menu.cpp
index 5467416408..ff963c9dd1 100644
--- a/plugins/MirOTR/src/svcs_menu.cpp
+++ b/plugins/MirOTR/src/svcs_menu.cpp
@@ -44,7 +44,6 @@ int StartOTR(MCONTACT hContact) {
mir_free(msg_utf8);
}
#endif
- lib_cs_unlock();
mir_free(uname);
return 0;
}
@@ -105,7 +104,6 @@ int otr_disconnect_contact(MCONTACT hContact)
lib_cs_lock();
otrl_message_disconnect_all_instances(otr_user_state, &ops, (void*)hContact, proto, proto, uname);
- lib_cs_unlock();
mir_free(uname);
return 0;
}