iterator.c
6.11 KB
-
tests: refs::iterator: fix memory leak due to ref names not being free'd · 782402c2
The test refs::iterator::foreach_name iterates through every reference and copies its name into a local vector. While the test makes sure to free the vector afterwards, the copied reference names are not being free'd. Fix that.
Patrick Steinhardt committed