add missing unlock (issue #6112)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Russell Bryant 20 years ago
parent 5488ffb6d4
commit 417438fea0

@ -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;
}

Loading…
Cancel
Save