From: Mark Michelson Date: Wed, 26 Mar 2008 19:37:36 +0000 (+0000) Subject: This code change is made just for clarification. It does exactly X-Git-Tag: 1.4.19-rc4~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=df37925e230979d89c6a89b468eae846c4b8fb2c;p=thirdparty%2Fasterisk.git 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 --- 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);