ucb/source/ucp/webdav-curl/CurlUri.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ff07799606ff0d2405225d818c4fbbaf30c4a10f
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sat Dec 30 18:01:10 2023 +0100
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Mon Jan 1 10:25:38 2024 +0100

    cid#1545411 Resource leak
    
    Change-Id: I3ecb388a69c261a74b6d1a7b7d467d1a32956916
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161449
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

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)

Reply via email to