#5 memory leaks

v0.2.2
closed-accepted
None
5
2010-06-13
2007-02-11
No

hi

when checking with valgrind some leaks show up:

valgrind --tool=memcheck --leak-check=full --leak-resolution=high --trace-children=yes --num-callers=20 ./wildmidi -c /usr/share/timidity/timidity.cfg test.mid 2>valgrind.log

==21608== 34,200 bytes in 4 blocks are definitely lost in loss record 152 of 154
==21608== at 0x40233F0: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21608== by 0x413944A: WM_ParseNewMidi (wildmidi_lib.c:3670)
==21608== by 0x4139D26: WildMidi_Open (wildmidi_lib.c:3865)
==21608== by 0x804A6A8: main (wildmidi.c:954)
==21608==
==21608==
==21608== 34,204 bytes in 4 blocks are definitely lost in loss record 153 of 154
==21608== at 0x40233F0: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==21608== by 0x4139471: WM_ParseNewMidi (wildmidi_lib.c:3671)
==21608== by 0x4139D26: WildMidi_Open (wildmidi_lib.c:3865)
==21608== by 0x804A6A8: main (wildmidi.c:954)
==21608==

Discussion

  • Chris Ison

    Chris Ison - 2008-05-17

    Logged In: YES
    user_id=23704
    Originator: NO

    can you please tell me the version of wildmidi these came from.

     
  • Stefan Sauer

    Stefan Sauer - 2008-05-17

    Logged In: YES
    user_id=250654
    Originator: YES

    wildmidi-0.2.2, I belive I also checked cvs at the time of the report.

     
  • Chris Ison

    Chris Ison - 2010-05-29

    valgrind is being used in the development of 0.2.3 to fix these issues

     
  • Chris Ison

    Chris Ison - 2010-05-29
    • milestone: --> v0.2.2
    • assigned_to: nobody --> wildcode
    • status: open --> pending-accepted
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-accepted --> closed-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks