On Fri, Apr 19, 2013 at 01:11:30PM +0800, Wei Yongjun wrote: > Fix to return -ENOMEM in the memory alloc error handing > cases instead of 0, as done elsewhere in this function. Otherwise it dereferences a NULL pointer... Queued. Alasdair