On 05/09/2013 10:38 AM, MORITA Kazutaka wrote: > buf = valloc(rlen); > if (!buf) { > + ret = SD_RES_NO_MEM; > sd_eprintf("%m"); > goto out; It seems that we just rollback when SD_RES_NO_MEM happens, is this the right behavior? This will lead possible stale object. Thanks, Yuan