sfx2/source/appl/openuriexternally.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit dd4ec48bcfc9ac2d6fd419b84650345e6f28e261 Author: Bogdan Buzea <buzea.bog...@libreoffice.org> AuthorDate: Fri Oct 25 06:08:23 2024 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Nov 6 18:52:04 2024 +0100 tdf#163486: FP PVS: memory leak is possible V773 Visibility scope of the 'uriTools' pointer was exited without releasing the memory. A memory leak is possible. Change-Id: I4ea97b4ca0e6cb4c5b1def56013290eca9a330d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175601 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sfx2/source/appl/openuriexternally.cxx b/sfx2/source/appl/openuriexternally.cxx index bdf8d72766cc..4de7230afd3e 100644 --- a/sfx2/source/appl/openuriexternally.cxx +++ b/sfx2/source/appl/openuriexternally.cxx @@ -136,6 +136,6 @@ void sfx2::openUriExternally(const OUString& sURI, bool bHandleSystemShellExecut { URITools* uriTools = new URITools(pDialogParent); uriTools->openURI(sURI, bHandleSystemShellExecuteException); -} +} //-V773 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */