16.03.2026 19:28:33 kanze <[email protected]>:

> Solid. Did you try to *test string arrays: "tags": ["a", "b"] . I think 
> free(entry)* frees only into the middle of the already-allocated block. I may 
> be wrong.

I think I don't fully understand what you mean?

I duplicate all strings individually with strdup, so I free all of them 
individually. That part is not thoroughly tested though, so there could be 
issues and memory leaks that I need to fix. When I wrote that, I had no 
pool.amd64.acid file, so I couldn't run leak to test for leaks.

sirjofri

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T6535038a5c849c89-Md58f8399c3b0418584ef513b
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to