Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | early return before delete is called | ||||||
---|---|---|---|---|---|---|---|
Product: | General | Reporter: | jnavrati <jnavrati> | ||||
Component: | code | Assignee: | carsten.driesner | ||||
Status: | CLOSED FIXED | QA Contact: | issues@framework <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues | ||||
Version: | 680m224 | ||||||
Target Milestone: | OOo 2.4 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | PATCH | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
jnavrati
2007-08-08 09:35:03 UTC
Created attachment 47379 [details]
patch to fix the leak
reassigned to Carsten cd->jnavrati: Thanks for your patch. I am now busy with showstopper tasks and will check your changes as soon as possible. For your information: the correct order of destruction is vital for the Main method. Therefore just using std::auto_ptr can create serious problems. cd->jnavrati: Thanks for your work. I accept your patch with a little change to be sure that the Path and LanguageOptions get destroyed before the UCB is de-initialized. At least the PathOptions uses the UCB internally. I am not sure that the dtor of the PathOptions in the future will use the UCB functions. At least there is a chance that someone can change the code without knowing the dependence to the desktop code. cd: Verified on CWS. cd: Closed. |