summaryrefslogtreecommitdiff
path: root/drawinglayer/source/tools/primitive2dxmldump.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-12-22 14:51:39 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2021-12-23 10:34:19 +0100
commitbe596c0192f059324d06716b625be6a11079f8ea (patch)
tree2165879c62b9e7a98f8df63aebd7688e075c5bde /drawinglayer/source/tools/primitive2dxmldump.cxx
parent657de5fba12b0e9afcdee361654d2a2d0dbd7311 (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/primitive2dxmldump.cxx')
0 files changed, 0 insertions, 0 deletions