core: Backport compatible MALLOC_DEBUG changes.

* Add support for MALLOC_DEBUG and DEBUG_CHAOS to be used together.
* Add utils/astmm.c to .gitignore.
* Fix MALLOC_DEBUG variant of __ast_vasprintf.  This function called
  va_end(ap) upon allocation failure.  This is incorrect since ap is
  passed as an argument.

Change-Id: I9f27ced4ce3cbe4b39547a67f994fdff491978c0
This commit is contained in:
Corey Farrell
2018-03-15 05:49:49 -04:00
parent c78f4b8e61
commit eb699f3631
3 changed files with 3 additions and 3 deletions

1
utils/.gitignore vendored
View File

@@ -3,6 +3,7 @@ aelparse
aelparse.c
ast_expr2.c
ast_expr2f.c
astmm.c
astman
astcanary
astdb2bdb