r4308: [out,ref] pointer needs to set (don't corrupt the stack and segfault)