#3140 closed defect (fixed)
Memory leak in modelInfoXmlInit
| Reported by: | 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 , 11 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → accepted |
comment:2 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
comment:3 by , 10 years ago
| Milestone: | Future → pre1.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 , 8 years ago
| Milestone: | pre1.9.4 → 1.9.4 |
|---|
Removing the pre1.9.4 milestone in favor of 1.9.4.
Note:
See TracTickets
for help on using tickets.

Thank you! Fixed in r24469.