The code goes on to allocate memory in another region on failure, hence it should discard the error. Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>