changeset 7 | 923ff622b8b9 |
parent 6 | c3690ec91ef8 |
child 23 | e6ad4ef83b23 |
child 34 | ed14f46c0e55 |
--- a/src/hbcore/i18n/hbdntxmlreader.cpp Wed Jun 23 18:33:25 2010 +0300 +++ b/src/hbcore/i18n/hbdntxmlreader.cpp Tue Jul 06 14:36:53 2010 +0300 @@ -199,6 +199,7 @@ localizedStr = QCoreApplication::translate(0,charPtr); delete ba; + ba = 0; if( localizedStr == t ){ localizedStr = ""; @@ -235,6 +236,9 @@ validElement = false; } } + if (ba) { + delete ba; + } return true; }