meklort / ipxact

IP-XACT tool to generate headers and source files.
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Memory Leak #9

Open maestrosoft opened 1 month ago

maestrosoft commented 1 month ago

In function:

IPXACTReader::parseRegister(const pugi::xml_node& elem, Component& component, bool update)

It seems to me that:

dimensions = new Number(current.child_value());

is never destroyed!

meklort commented 1 month ago

You're correct. Feel free to submit a patch.