(closes issue #12649)
Reported by: ys
Patches:
pbx.c.diff uploaded by ys (license 281)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116461
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
ready to let it go as soon as we locked it. */
ast_unlock_context(tmp);
__ast_internal_context_destroy(tmp);
+ } else {
+ ast_unlock_context(tmp);
}
} else if (con) {
ast_verb(3, "Deleting context %s registrar=%s\n", tmp->name, tmp->registrar);