Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

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

TRUNK
closed-fixed
Cockpit (4)
5
2007-02-25
2006-07-26
Mathias Plichta
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.

     
  • 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).

     
    • status: pending-fixed --> closed-fixed
     
  • Logged In: YES
    user_id=1463271
    Originator: YES

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