[asterisk-commits] branch 1.2 - r7870 /branches/1.2/manager.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Jan 8 22:52:17 CST 2006
Author: russell
Date: Sun Jan 8 22:52:16 2006
New Revision: 7870
URL: http://svn.digium.com/view/asterisk?rev=7870&view=rev
Log:
backport fix for unnecessary unlock (issue #6171)
Modified:
branches/1.2/manager.c
Modified: branches/1.2/manager.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/manager.c?rev=7870&r1=7869&r2=7870&view=diff
==============================================================================
--- branches/1.2/manager.c (original)
+++ branches/1.2/manager.c Sun Jan 8 22:52:16 2006
@@ -1626,7 +1626,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