From df37925e230979d89c6a89b468eae846c4b8fb2c Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 26 Mar 2008 19:37:36 +0000 Subject: [PATCH] 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/branches/1.4@111121 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 97e26f66ce..0f6df8f5bc 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -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);