diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-13 23:05:55 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-14 08:41:21 +0200 |
commit | 22a79927eec282b65fe71fbdcb9fa2810137b17c (patch) | |
tree | 65f1e992b0edf07b9acd7c11181bd6291d0ec4e9 /desktop | |
parent | 5c77f3790ff928501c31ebdce12c3a23982c6dd1 (diff) |
Fix memory leak
Change-Id: Ib9d98fa2cb14bb8feaf53941c5b7b18e21c33c13
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123516
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 156176ba023d..306b6d417d9d 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -5893,7 +5893,7 @@ static char* lo_getFilterTypes(LibreOfficeKit* pThis) } } - return strdup(aJson.extractData()); + return aJson.extractData(); } static void lo_setOptionalFeatures(LibreOfficeKit* pThis, unsigned long long const features) |