From: Mark Michelson Date: Wed, 26 Mar 2008 19:39:23 +0000 (+0000) Subject: Merged revisions 111121 via svnmerge from X-Git-Tag: 1.6.0-beta7~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e94d06b83c641e0a54801e2ac4bf9ab1b09d2f1f;p=thirdparty%2Fasterisk.git Merged revisions 111121 via svnmerge from 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 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 87d41ccf32..36280748d4 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -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