Skip to content

Commit

Permalink
Use ast_free() instead of free().
Browse files Browse the repository at this point in the history
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@216593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
  • Loading branch information
seanbright committed Sep 4, 2009
1 parent 5dfaf5c commit 40d83cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/app_voicemail.c
Original file line number Diff line number Diff line change
Expand Up @@ -2357,7 +2357,7 @@ static struct ast_vm_user *find_user_realtime_imapuser(const char *imapuser)
ast_variables_destroy(var);
return vmu;
} else {
free(vmu);
ast_free(vmu);
return NULL;
}
}
Expand Down

0 comments on commit 40d83cf

Please sign in to comment.