aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-26 19:37:36 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-26 19:37:36 +0000
commit40de5e6ea2b291c004d4ff296d9751c2901b121b (patch)
treee1d595fdc32784fe2d1764dcadb07fac9ea68e38
parent241f567d5ab8aff0e96cd5bd9bde2a61946d5e03 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@111121 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 97e26f66c..0f6df8f5b 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);