Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#3140 closed defect (fixed)

Memory leak in modelInfoXmlInit

Reported by: mathilde.maury@… Owned by: Adrian Pop
Priority: normal Milestone: 1.9.4
Component: Run-time Version: trunk
Keywords: memory leak Cc:

Description

The XML_Parser created in modelInfoXmlInit (in the "SimulationRuntime\c\simulation\simulation_info_xml.c" file) is never released, except during a fault, and cause a memory leak.

A call to XML_ParserFree should be added at the end of the function to free it since it's not used beyond the scope of this function.

Change History (4)

comment:1 by Adrian Pop, 10 years ago

Owner: changed from somebody to Adrian Pop
Status: newaccepted

comment:2 by Adrian Pop, 10 years ago

Resolution: fixed
Status: acceptedclosed

Thank you! Fixed in r24469.

comment:3 by Dietmar Winkler, 9 years ago

Milestone: Futurepre1.9.4

It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.

comment:4 by Martin Sjölund, 7 years ago

Milestone: pre1.9.41.9.4

Removing the pre1.9.4 milestone in favor of 1.9.4.

Note: See TracTickets for help on using tickets.