struct_assignment: handle kzalloc() better