summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/svcs_menu.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-04-30 08:05:40 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-04-30 08:05:40 +0000
commit34d561d1468bfd0a380d755d6c991ec1b7ed79cf (patch)
tree61a6267280dd6808cf5310a8981cce4a530f2674 /plugins/MirOTR/src/svcs_menu.cpp
parent944482ac36d1f1d6e14cf791130bea5c7c9de01b (diff)
minus critical section
git-svn-id: http://svn.miranda-ng.org/main/trunk@13283 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
}