Issue 103767 - filter: hwpfilter/source/cspline.cpp: memory leak
Summary: filter: hwpfilter/source/cspline.cpp: memory leak
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 3.1
Hardware: All Linux, all
: P4 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: dtardon
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks: 106602
  Show dependency tree
 
Reported: 2009-07-24 09:38 UTC by dcb314
Modified: 2009-11-17 16:25 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 09:38:02 UTC
For the source code file hwpfilter/source/cspline.cpp,
around line 131 is the source code

  double* h = new double[N];

The matching 

  delete [] h; h = 0;

seems to be missing. Suggest add to avoid memory leak.
Comment 1 caolanm 2009-10-30 21:54:59 UTC
confirmed, I'm fixing a few other little gotchas in hwpfilter, so I'll take this
Comment 2 caolanm 2009-10-31 12:04:07 UTC
done in cmcfixes65
Comment 3 caolanm 2009-11-03 14:40:32 UTC
reassign for sanity testing
Comment 4 dtardon 2009-11-05 13:33:13 UTC
verified in cmcfixes65
Comment 5 caolanm 2009-11-17 16:25:16 UTC
closed, integrated m65