aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmllocale_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmllocale_p.h')
-rw-r--r--src/qml/qml/qqmllocale_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qml/qml/qqmllocale_p.h b/src/qml/qml/qqmllocale_p.h
index ea1b7bf369..275f58db7d 100644
--- a/src/qml/qml/qqmllocale_p.h
+++ b/src/qml/qml/qqmllocale_p.h
@@ -144,7 +144,10 @@ namespace Heap {
struct QQmlLocaleData : Object {
inline void init() { locale = new QLocale; }
- void destroy() { delete locale; }
+ void destroy() {
+ delete locale;
+ Object::destroy();
+ }
QLocale *locale;
};