Fix segfault: Use without alloc