add missing unlock (issue #6112)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2006-01-09 22:07:26 +00:00
parent 5488ffb6d4
commit 417438fea0

1
file.c
View File

@@ -176,6 +176,7 @@ int ast_format_unregister(const char *name)
tmpl = tmp;
tmp = tmp->next;
}
ast_mutex_unlock(&formatlock);
ast_log(LOG_WARNING, "Tried to unregister format %s, already unregistered\n", name);
return -1;
}