Closed ppisa closed 2 years ago
I consider even to add variant of the string list serialization which is called with iterator, that would get rid of runtime malloc calls except for buffers during initialization. But that is for another pull round if implemented and tested.
There is the experimental version with shv_ls rewritten to use iterators instead of malloc
But there is strdup still in the path parsing code which is an area for the next exercise...
shv: fix memory leaks in shv_ls method and minor formatting cleanup
Removed abundant malloc()s and add missing free() to release storage for the list of children nodes.