diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2022-05-18 18:25:07 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-05-20 21:28:41 +0200 |
commit | f6ced2a3c3d013e904e33cba0e71997ae2437877 (patch) | |
tree | 0f87c12fbde7124150cd80edf4dc0d856bffb3ff /vcl/unx/gtk3/gtkframe.cxx | |
parent | e940b48617b29b0bccf0491a1aa5162a10c2616b (diff) |
svx: fix double-free if SvxShape of SwDrawVirtObj is disposed
First SvxShape::dispose() deletes it, then ~SwDrawFrameFormat() via
~SwDrawContact() calls SwDrawContact::RemoveAllVirtObjs() and deletes it
again.
Back in 2009, CWS dba32 (60698c8a619f219129dbeac7da1f962f3fa63f6a)
added this OSL_ENSURE, let's actually try to fix this now.
Change-Id: I5c391aa425aa75fb87cecccbf9e41c9f90196f9f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134609
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
(cherry picked from commit 5eb25f6a7ecb215f7bc81116cd930c1dec645e8d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134621
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx/gtk3/gtkframe.cxx')
0 files changed, 0 insertions, 0 deletions