Use ast_free() instead of free().
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@216593 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
cda53172f4
commit
0c2710adad
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue