Merged revisions 26050 via svnmerge from
[asterisk/asterisk.git] / apps / app_voicemail.c
index f9ba869..063eff4 100644 (file)
@@ -586,6 +586,7 @@ static struct ast_vm_user *find_user_realtime(struct ast_vm_user *ivm, const cha
                                        apply_option(retval, tmp->name, tmp->value);
                                tmp = tmp->next;
                        } 
+                       ast_variables_destroy(var);
                } else { 
                        if (!ivm) 
                                free(retval);