Issue 120669

Summary: Part of EmbedEventListener_Impl objects are not released when loading document having ole objects
Product: performance Reporter: zhang jianfang <zhangjf>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P2    
Version: AOO 3.4.0   
Target Milestone: not determined   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 120975    
Description Flags
embedhlp.cxx.patch none

Description zhang jianfang 2012-08-23 03:17:49 UTC
The root cause is,

In function EmbeddedObjectRef::Clear(),  in case of returns false, the mpImp->xListener won't be released normally.  But this case does exist, and cause a few of memory leaks.
Comment 1 zhang jianfang 2012-08-23 03:22:45 UTC
Created attachment 79075 [details]

Make sure mpImp->xListener is always released correctly.
Comment 2 zhang jianfang 2012-08-24 03:31:14 UTC
Comment on attachment 79075 [details]

Sorry, seems this patch cause some crash problem. Still need more study.