#218 Memory leak with global array in cCockpit.cpp:97

TRUNK
closed-fixed
Cockpit (4)
5
2007-02-25
2006-07-26
wrtlprnft
No

The memory manager complains about leaky objects in
static const cbpair cbarray[] {...};.
It seems to especially think the tString parts of the
cbpairs are leaky, for apparently no reason as global
objects get deleted at program end anyways.

Discussion

  • Manuel Moos

    Manuel Moos - 2006-07-26
    • assigned_to: wrtlprnft --> z-man
     
  • Manuel Moos

    Manuel Moos - 2007-02-10
    • assigned_to: z-man --> wrtlprnft
    • status: open --> pending-fixed
     
  • Manuel Moos

    Manuel Moos - 2007-02-10

    Logged In: YES
    user_id=34808
    Originator: NO

    I think I fixed this by making theRegistry an on-demand initialization singleton. Please verify.

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    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-fixed --> closed-fixed
     
  • wrtlprnft

    wrtlprnft - 2007-02-25

    Logged In: YES
    user_id=1463271
    Originator: YES

    The bot is correct, it's fixed, at least for me :P

     

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

Sign up for the SourceForge newsletter:





No, thanks