commit | 2465bdf4937ffba309e7289014443c6b51566f22 | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Mon Mar 26 13:13:55 2012 -0700 |
committer | Jason Evans <jasone@canonware.com> | Mon Mar 26 13:13:55 2012 -0700 |
tree | 7c7fccfc7af0b12841cbe918b3530f162f348778 | |
parent | 5b3db098f73f467a03f87a2242c692268f796a56 [diff] |
Check for NULL ptr in malloc_usable_size(). Check for NULL ptr in malloc_usable_size(), rather than just asserting that ptr is non-NULL. This matches behavior of other implementations (e.g., glibc and tcmalloc).