Travis Cross 3c32dd3bc9 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.
2014-08-22 02:47:04 +00:00
..
2014-03-09 14:46:06 -04:00
2014-03-08 08:51:58 -06:00
2014-08-08 15:24:42 +00:00
2014-03-07 18:36:26 -05:00
2014-08-08 15:24:42 +00:00
2014-04-30 10:34:08 -04:00
2014-03-07 19:35:51 -05:00
2014-02-12 12:08:56 -06:00
2012-04-04 16:18:53 -05:00
2014-03-19 17:37:02 +00:00
2014-05-21 17:25:32 +00:00
2014-03-19 14:17:09 -04:00
2014-08-13 19:29:03 +00:00
2014-08-08 15:24:42 +00:00
2014-07-29 21:22:47 +08:00
2014-08-08 15:24:42 +00:00
2014-07-19 12:47:45 +02:00