Commits
![Travis Cross](https://secure.gravatar.com/avatar/57985f673a8a51e6a7282b868d600dba.jpg?s=96&d=mm)
Travis Cross committed 3c32dd3bc92
Return NULL from `sub_alloc` for zero size When zero was passed for the size to `sub_alloc`, we were passing this size on to `malloc` or `calloc`, which is unusual enough that static analyzers warn about this (POSIX says that either NULL or a pointer will be returned). We'll instead just return NULL right away.