Open dcooley opened 11 months ago
I've use memest(cellSet, -1, sizeof(cellSet)
whenever something like H3Index cellSet[setSize]
is declared. This has removed 95% of the Valgrind warnings.
The remaining one is caused by cellsToMultipolygon()
. I can't figure this out so have removed this function for v1.1
solved by this pr, included in h3 v4.1.0
But...
compactCells
uncompactCells
gridRingUnsafe
cellsToMultiLinkedPolygon
Valigrind check commands
outputs to
h3r.Rcheck/valgrind.text
with results of valgrind checke.g
I think the
compactedSet
needs checking that each element has been assigned / initialised, before it is accessedsame goes for
result