Commit 3dc5d60f authored by Halla Rempt's avatar Halla Rempt

Fix memory leak

parent e50f27aa
......@@ -23,6 +23,7 @@
#include "koplugin_export.h"
#include <QScopedPointer>
class KOPLUGIN_EXPORT KoServiceLocator
{
......@@ -42,8 +43,7 @@ private:
void init();
struct Private;
Private *const d;
const QScopedPointer<Private> d;
};
#endif // KOSERVICELOCATOR_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment