[PUSHED] Re: Prevent possible memory leak by adding virtual destructor
Stephan Bergmann
sbergman at redhat.com
Wed Mar 14 07:03:03 PDT 2012
On 03/13/2012 11:38 PM, Michael Stahl wrote:
> On 13/03/12 21:14, Arnaud Versini wrote:
>> This patch add a virtual destructor to all classes from
>> WW8ResourceModel.hxx with virtual methods to prevent memory leaks likes
>> rtf few days ago almost from docx import filter.
>
> thanks, pushed
Turns out my patch to add missing explicit destructors wholesale now
overwrote this with an alternative solution, making the destructors
protected and non-virtual (which is the preferred idiom in case
"polymorphic deletion" is not a required feature).
Stephan
More information about the LibreOffice
mailing list