From b0951fcb92bc8e4e246590e7b51a31490ea72e5d Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 26 Mar 2008 19:41:24 +0000 Subject: [PATCH] Merged revisions 111123 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r111123 | mmichelson | 2008-03-26 14:39:23 -0500 (Wed, 26 Mar 2008) | 12 lines 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/branches/1.6.0@111124 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 b8403119f8..7a35c64d85 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -9785,7 +9785,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