summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/backtrace.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-07-21 11:20:07 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-07-21 11:24:11 -0700
commit4a1507b88e813e3d54614f4cb59211234e05334a (patch)
treeb485378d180e4a23c4fbe42d022ed988f726f01c /lisp/emacs-lisp/backtrace.el
parent51f5c1943121ffb8763fbb61e06630c2aa20e5c0 (diff)
downloademacs-4a1507b88e813e3d54614f4cb59211234e05334a.tar.gz
emacs-4a1507b88e813e3d54614f4cb59211234e05334a.tar.bz2
emacs-4a1507b88e813e3d54614f4cb59211234e05334a.zip
pure_alloc returns cleared memory
* src/alloc.c (pure_alloc): Clear any heap-allocated storage. This is simpler than auditing all the callers to make sure they don’t assume pure memory is cleared memory, and the performance implication is nonexistent except when Emacs is misconfigured. Also, add an assertion to catch caller misuse when pure space is exhausted.
Diffstat (limited to 'lisp/emacs-lisp/backtrace.el')
0 files changed, 0 insertions, 0 deletions