Remove unnecessary unlock (bug #6171)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2006-01-08 19:53:25 +00:00
parent 82a74beed4
commit be582e9f2a

View File

@@ -1634,7 +1634,6 @@ int ast_manager_register2(const char *action, int auth, int (*func)(struct manse
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;