mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-15 16:16:43 -07:00
Use ast_free since ast_variable_new uses ast_calloc
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@283834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
+1
-1
@@ -222,7 +222,7 @@ void ast_variables_destroy(struct ast_variable *v)
|
||||
v = v->next;
|
||||
ast_destroy_comment(&vn->precomments);
|
||||
ast_destroy_comment(&vn->sameline);
|
||||
free(vn);
|
||||
ast_free(vn);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user