sfx2/source/sidebar/SidebarDockingWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6ea4e63248e2400abd71684cf11af2714cb9890a Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Wed May 19 10:06:58 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed May 19 11:56:29 2021 +0200 fix free/delete mismatch Change-Id: I8400e33292605058d1d3f238eae1508528d624c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115781 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx index 8fb8a584cefe..b5b19b10bf74 100644 --- a/sfx2/source/sidebar/SidebarDockingWindow.cxx +++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx @@ -72,7 +72,7 @@ public: tools::JsonWriter aJsonWriter; m_rSidebarDockingWin.DumpAsPropertyTree(aJsonWriter); aJsonWriter.put("id", m_rSidebarDockingWin.GetLOKWindowId()); - std::unique_ptr<char[]> data( aJsonWriter.extractData()); + std::unique_ptr<char[], o3tl::free_delete> data( aJsonWriter.extractData()); std::string_view message(data.get()); if (message != m_LastNotificationMessage) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits