]> git.eshelyaron.com Git - emacs.git/commit
Follow-up improvements for last change in gmalloc.c.
authorEli Zaretskii <eliz@gnu.org>
Tue, 4 Mar 2014 17:35:15 +0000 (19:35 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 4 Mar 2014 17:35:15 +0000 (19:35 +0200)
commit201572eca80ea77d8e1c25099b4aa2d98bc4d402
treeb2aedb9d508729a1b3b30bfe23c2bb13fc42d54f
parent3106d59bce024deba9d6b2193531c09b6a6d3c91
Follow-up improvements for last change in gmalloc.c.

 src/gmalloc.c (aligned_alloc): Don't allocate more memory than
 needed, and don't reallocate if the initial allocation already
 fits the bill.  Suggested by Ken Brown <kbrown@cornell.edu>.

Fixes: debbugs:16901
src/ChangeLog
src/gmalloc.c