diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-06 19:02:33 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-06 19:02:33 +0000 |
commit | 79817a9d39590aef86a8ca807d1065c8d1d5f447 (patch) | |
tree | 8d92ccb13e2cb891a074e06a7b5f28030768bfb2 /apps | |
parent | aec5a058825347665b3605675e989c060147bf2b (diff) |
Fixing a crash wherein Asterisk would segfault when attempting to leave a voicemail when IMAP storage
was enabled. Though no bug was reported to the bugtracker, there was mention of this made as a note on
bug 9810 by edhorton.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67784 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index ffbf06918..50da060c5 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -9280,6 +9280,8 @@ static void vmstate_insert(struct vm_state *vms) if (!(v = ast_calloc(1, sizeof(*v)))) return; + + v->vms = vms; if(option_debug > 2) ast_log(LOG_DEBUG, "Inserting vm_state for user:%s, mailbox %s\n",vms->imapuser,vms->username); |