fix a double free in parse when duplicate_field_behavior is UseLast and a leak in parse when allocating a single item
fix a double free in parse when duplicate_field_behavior is UseLast and a leak in parse when allocating a single item

zig-lang/zig,zig-lang/zig,andrewrk/zig,zig-lang/zig,andrewrk/zig