mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
ast_free() is null tollerant.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -62,7 +62,6 @@ struct ast_var_t *ast_var_assign(const char *name, const char *value)
|
||||
|
||||
void ast_var_delete(struct ast_var_t *var)
|
||||
{
|
||||
if (var)
|
||||
ast_free(var);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user