I've got Valgrind set up and I'm running tests through it for this extension I'm toying with. I've got several memory leaks, but my C knowledge around memory management is limited and, while I can see the information about the memory leaks in the output, I'm not sure how to interpret it. Here are the test results:
github.com/ramsey/ecma_intl/runs/… (you can ignore the test with the segmentation fault, for now)