diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/kf5be/kf5backend.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/backends/kf5be/kf5backend.cxx b/shell/source/backends/kf5be/kf5backend.cxx index a2cae6c6c4fd..f55a5150bd3f 100644 --- a/shell/source/backends/kf5be/kf5backend.cxx +++ b/shell/source/backends/kf5be/kf5backend.cxx @@ -190,7 +190,7 @@ void initQApp(std::map<OUString, css::beans::Optional<css::uno::Any>>& rSettings std::unique_ptr<QApplication> app(new QApplication(nFakeArgc, pFakeArgv)); QObject::connect(app.get(), &QObject::destroyed, app.get(), [nFakeArgc, pFakeArgv]() { for (int i = 0; i < nFakeArgc; ++i) - delete pFakeArgv[i]; + free(pFakeArgv[i]); delete[] pFakeArgv; }); |