Issue 9024

Summary: svdpage.hxx deleting void *
Product: Draw Reporter: caolanm
Component: codeAssignee: wolframgarten
Status: CLOSED FIXED QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 643   
Target Milestone: OOo 1.1 Beta   
Hardware: All   
OS: All   
Issue Type: PATCH Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
patch none

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.