diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-19 10:06:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-19 11:56:29 +0200 |
commit | 6ea4e63248e2400abd71684cf11af2714cb9890a (patch) | |
tree | 165e6f2910dedcd24009707e8180c5021b0db26e /sfx2/source | |
parent | 0655560f1b8aff45954682bb92498570f2000014 (diff) |
fix free/delete mismatch
Change-Id: I8400e33292605058d1d3f238eae1508528d624c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115781
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/sidebar/SidebarDockingWindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |