diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-12-22 14:51:39 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-12-23 10:34:19 +0100 |
commit | be596c0192f059324d06716b625be6a11079f8ea (patch) | |
tree | 2165879c62b9e7a98f8df63aebd7688e075c5bde /drawinglayer/source/tools/wmfemfhelper.cxx | |
parent | 657de5fba12b0e9afcdee361654d2a2d0dbd7311 (diff) |
Nullify passed pointer in releaseDecimalPtr unconditionally
This was an implementation error ever since it was introduced
in commit 79d3bc479950127ecfd40f73978c0fc84c1e7908.
The function is used to release the refcounted object, and the
calling code does not always set the pointer to another value
or discard it (see uses in basic/source/sbx/sbxvalue.cxx). If
it resets the pointer in some cases, it must do it always.
Change-Id: I17de412914935082d20f2a1a91ea6e4e289936aa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127254
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'drawinglayer/source/tools/wmfemfhelper.cxx')
0 files changed, 0 insertions, 0 deletions