[Libreoffice-bugs] [Bug 112388] Fraction::Fraction(Fraction const&) leaks memory
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 16 15:35:39 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=112388
--- Comment #3 from Julien Nabet <serval2412 at yahoo.fr> ---
Looking at destructor of ScTabView from sc/source/ui/view/tabview5.cxx line 142
+ ctr of ScTabView and its Init method, I wonder if the order of dispose/delete
may be wrong.
Indeed, I would have put aViewData.KillEditView() at the end since there are a
lot of objects which have been created from aViewData.
Idem for pGridWin, perhaps the block:
for (i=0; i<4; i++)
pGridWin[i].disposeAndClear();
should be just at the end before aViewData.KillEditView()
I tested this and had no crash but didn't succeed in obtaining nb calls of
Fraction destructor with calls of Fraction ctr.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170916/ab9c8edc/attachment.html>
More information about the Libreoffice-bugs
mailing list