UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2315 memory leak MS_MessageSaveXML (valgrind report)
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    6. Vital
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2315 Item 2315] imported from sourceforge.net tracker on 2013-01-28 19:30:37

==7150== 2,326,630 (88 direct, 2,326,542 indirect) bytes in 1 blocks are definitely lost in loss record 1,622 of 1,622
==7150== at 0x10B11477: calloc (vg_replace_malloc.c:418)
==7150== by 0x5081D8: mxml_new (mxml-node.c:743)
==7150== by 0x507D71: mxmlNewElement (mxml-node.c:392)
==7150== by 0x508FFD: mxml_AddNode (mxml_ufoai.c:90)
==7150== by 0x480C1A: MS_MessageSaveXML (cp_messages.c:177)
==7150== by 0x480BF9: MS_MessageSaveXML (cp_messages.c:171)
==7150== by 0x480BF9: MS_MessageSaveXML (cp_messages.c:171)
==7150== by 0x480BF9: MS_MessageSaveXML (cp_messages.c:171)
==7150== by 0x480BF9: MS_MessageSaveXML (cp_messages.c:171)
==7150== by 0x480BF9: MS_MessageSaveXML (cp_messages.c:171)
==7150== by 0x480BF9: MS_MessageSaveXML (cp_messages.c:171)
==7150== by 0x480BF9: MS_MessageSaveXML (cp_messages.c:171)
===== Comments Ported from Sourceforge =====

====== tlh2000 (2010-01-24 15:27:29) ======

every mxml node must be freed after using it
====== tlh2000 (2010-01-24 15:28:10) ======

also see https://sourceforge.net/tracker/index.php?func=detail&aid=2938649&group_id=157793&atid=805242
====== tlh2000 (2010-01-24 16:26:48) ======

fixed in r28263 and r28264
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif