Please CC me on replies. According to the manual for malloc_usable_size(), zero should be returned if the input pointer is NULL. Currently, this is not checked, which can result in SIGSEGV at runtime. Thanks, Dominic