On Tue, Jun 10, 2014 at 03:37:38PM +0800, Zhouyi Zhou wrote: Less typing more thinking, this is wrong. You should fail when the allocation fails.