[asterisk-commits] trunk - r7868 /trunk/manager.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Jan 8 13:53:26 CST 2006
Author: markster
Date: Sun Jan 8 13:53:25 2006
New Revision: 7868
URL: http://svn.digium.com/view/asterisk?rev=7868&view=rev
Log:
Remove unnecessary unlock (bug #6171)
Modified:
trunk/manager.c
Modified: trunk/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/manager.c?rev=7868&r1=7867&r2=7868&view=diff
==============================================================================
--- trunk/manager.c (original)
+++ trunk/manager.c Sun Jan 8 13:53:25 2006
@@ -1634,7 +1634,6 @@
cur = malloc(sizeof(struct manager_action));
if (!cur) {
ast_log(LOG_WARNING, "Manager: out of memory trying to register action\n");
- ast_mutex_unlock(&actionlock);
return -1;
}
cur->action = action;
More information about the asterisk-commits
mailing list