Closed TrondKjeldas closed 2 years ago
There were several cases where the mxml_load_data() function, when it bailed out with an error, did not release the 'node' variable before returning.
Also fixed memory leak in the testmxml.c file, which cause some annoyance when building the library for fuzzing.
@TrondKjeldas Thanks for this, I'll review when I get a chance but at first glance looks reasonable.
[master bd4eb86] Fix potential memory leak in mxmlLoadXxx (Issue #278, Issue #279)
There were several cases where the mxml_load_data() function, when it bailed out with an error, did not release the 'node' variable before returning.
Also fixed memory leak in the testmxml.c file, which cause some annoyance when building the library for fuzzing.