Issue 103769 - stoc/source/invocation/invocation.cxx: memory leak
Summary: stoc/source/invocation/invocation.cxx: memory leak
Status: CLOSED DUPLICATE of issue 99711
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 3.1
Hardware: All Linux, all
: P4 Trivial (vote)
Target Milestone: ---
Assignee: Stephan Bergmann
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks: 106602
  Show dependency tree
 
Reported: 2009-07-24 10:07 UTC by dcb314
Modified: 2009-11-05 20:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description dcb314 2009-07-24 10:07:44 UTC
Around line 800 of the above file is the source code

        MemberItem* pItems = new MemberItem[ nTotalCount ];

I can't see the matching 

        delete [] pItems; pItems = 0;

so there seems to be a memory leak here. Suggest code rework.
Comment 1 Martin Hollmichel 2009-07-24 10:12:36 UTC
reassign 
Comment 2 Stephan Bergmann 2009-07-24 10:53:11 UTC
already fixed since DEV300m47

*** This issue has been marked as a duplicate of 99711 ***
Comment 3 Stephan Bergmann 2009-07-24 10:53:39 UTC
.