Fixed zero-size allocation in debug build