diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2023-12-30 18:01:10 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-01-01 10:25:38 +0100 |
commit | ff07799606ff0d2405225d818c4fbbaf30c4a10f (patch) | |
tree | ffe067acaf6343aab00ea31e5c6c74427ae02c27 | |
parent | ef5aadffaefe47870f1e9472d7cdb8d37526c104 (diff) |
cid#1545411 Resource leak
Change-Id: I3ecb388a69c261a74b6d1a7b7d467d1a32956916
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161449
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | ucb/source/ucp/webdav-curl/CurlUri.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav-curl/CurlUri.cxx b/ucb/source/ucp/webdav-curl/CurlUri.cxx index 3ee218d5aca3..1b478cce8a45 100644 --- a/ucb/source/ucp/webdav-curl/CurlUri.cxx +++ b/ucb/source/ucp/webdav-curl/CurlUri.cxx @@ -290,7 +290,7 @@ CurlUri CurlUri::CloneWithRelativeRefPathAbsolute(std::u16string_view rRelativeR SAL_WARN("ucb.ucp.webdav.curl", "curl_url_set failed: " << uc); throw DAVException(DAVException::DAV_INVALID_ARG); } - return CurlUri(*pUrl.release()); + return CurlUri(*pUrl); } OUString EncodeSegment(OUString const& rSegment) |