Merged revisions 111121 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Wed, 26 Mar 2008 19:39:23 +0000 (19:39 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 26 Mar 2008 19:39:23 +0000 (19:39 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r111121 | mmichelson | 2008-03-26 14:37:36 -0500 (Wed, 26 Mar 2008) | 4 lines

This code change is made just for clarification. It does exactly
the same thing as before. It just doesn't look as wrong.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111123 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 87d41cc..3628074 100644 (file)
@@ -9799,7 +9799,7 @@ static void vmstate_delete(struct vm_state *vms)
        AST_LIST_UNLOCK(&vmstates);
        
        if (vc) {
-               ast_mutex_destroy(&vms->lock);
+               ast_mutex_destroy(&vc->vms->lock);
                ast_free(vc);
        }
        else