getty-zig / getty

A (de)serialization framework for Zig
https://getty.so
MIT License
189 stars 13 forks source link

de: Do not free string during array deserialization #64

Closed ibokuri closed 1 year ago

ibokuri commented 1 year ago

The string is not part of the final value, so the caller should always deallocate it, if it is indeed allocated.