]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
This code change is made just for clarification. It does exactly
authorMark Michelson <mmichelson@digium.com>
Wed, 26 Mar 2008 19:37:36 +0000 (19:37 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 26 Mar 2008 19:37:36 +0000 (19:37 +0000)
the same thing as before. It just doesn't look as wrong.

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

apps/app_voicemail.c

index 97e26f66ce5834f0dd373bc8d376c036ce3bc4ef..0f6df8f5bc6cb849ae1ec6f0b246fed7d3960444 100644 (file)
@@ -9031,7 +9031,7 @@ static void vmstate_delete(struct vm_state *vms)
        if (!vf) {
                ast_log(LOG_ERROR, "No vmstate found for user:%s, mailbox %s\n",vms->imapuser,vms->username);
        } else {
-               ast_mutex_destroy(&vms->lock);
+               ast_mutex_destroy(&vf->vms->lock);
                free(vf);
        }
        ast_mutex_unlock(&vmstate_lock);