In that case, please use SG_MALLOC/SG_NEW and SG_FREE