diff options
author | Mark Spencer <markster@digium.com> | 2006-01-08 19:53:25 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2006-01-08 19:53:25 +0000 |
commit | be582e9f2a241d335ddc7ac4cb67dfe9e8846a62 (patch) | |
tree | 5c259b4a84f76d9fbd387cbc7b2672febecfdeee /manager.c | |
parent | 82a74beed4f877f1d82413548cf189231c7bd4d4 (diff) |
Remove unnecessary unlock (bug #6171)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'manager.c')
-rw-r--r-- | manager.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; |