Issue 9024 - svdpage.hxx deleting void *
Summary: svdpage.hxx deleting void *
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 643
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 1.1 Beta
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-06 17:02 UTC by caolanm
Modified: 2003-09-08 16:52 UTC (History)
1 user (show)

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


Attachments
patch (2.06 KB, patch)
2002-11-06 17:03 UTC, caolanm
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description caolanm 2002-11-06 17:03:04 UTC
g++ with -Wall complains that in svx/inx/svdpage.hxx deleting a void * is
undefined. The attached patch casts the offending pointers back to their
original types before deleting them to make it safe.
Comment 1 caolanm 2002-11-06 17:03:54 UTC
Created attachment 3508 [details]
patch
Comment 2 clippka 2002-11-08 11:08:24 UTC
one for you
Comment 3 Armin Le Grand 2002-12-20 15:42:46 UTC
Yes, thanks Caolan. This is indeed always a dangerous location for a 
memory leak. Luckily, both used classes have no destructor and do no 
special cleaning up things. Nonetheless i will change that.
Comment 4 Armin Le Grand 2003-01-10 13:53:09 UTC
Fixed in CWS aw-001
Comment 5 Armin Le Grand 2003-01-10 14:00:11 UTC
AW: Reopen to change owner to WG...
Comment 6 Armin Le Grand 2003-01-10 14:02:33 UTC
Reassign to WG...
Comment 7 Armin Le Grand 2003-01-10 14:05:11 UTC
Set to resolved...
Comment 8 Armin Le Grand 2003-01-10 14:25:48 UTC
AW: This is just a code change which removes potenially dangerous 
code parts. It's done.
Comment 9 Armin Le Grand 2003-01-20 15:16:56 UTC
OK, is in main trunk.