summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-08-13 11:59:55 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-08-13 12:01:23 (GMT)
commit5d32b723332acab5fdf880aa0d555ab8e05d79dd (patch)
treee9fa2f0738c605fc8dbe7c452e9dcf35356f5ece /src
parent448a8603bb0609bf880a2c1b92b26c2005e1cf63 (diff)
downloadQt-5d32b723332acab5fdf880aa0d555ab8e05d79dd.zip
Qt-5d32b723332acab5fdf880aa0d555ab8e05d79dd.tar.gz
Qt-5d32b723332acab5fdf880aa0d555ab8e05d79dd.tar.bz2
Fix for memory leak in qt_init
Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index e64ebb1..559bb6a 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -1475,6 +1475,8 @@ void qt_init(QApplicationPrivate * /* priv */, int)
S60->avkonComponentsSupportTransparency = (value==1) ? true : false;
}
}
+ delete repository;
+ repository = 0;
#endif
#ifdef QT_KEYPAD_NAVIGATION