He use alloca, that is allocated on the stack, and so is freed automatically when the function return. So it is good. I'm merging it.