summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-01-11 12:45:23 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-01-11 12:45:23 (GMT)
commite1e67e84b223b36a01d767c163de730702057eb8 (patch)
tree984b4484c6995be30c1c48eb7a92278f247f067c /doc/src/snippets/code
parent8e2c575f6383a69e9c1d4f069e3c8e3b219197b5 (diff)
parent039387d498f4ca0125938c7c79c5aff29dab5361 (diff)
downloadQt-e1e67e84b223b36a01d767c163de730702057eb8.zip
Qt-e1e67e84b223b36a01d767c163de730702057eb8.tar.gz
Qt-e1e67e84b223b36a01d767c163de730702057eb8.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6
Diffstat (limited to 'doc/src/snippets/code')
-rw-r--r--doc/src/snippets/code/src_corelib_codecs_qtextcodec.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/src/snippets/code/src_corelib_codecs_qtextcodec.cpp b/doc/src/snippets/code/src_corelib_codecs_qtextcodec.cpp
index 99fd0cf..bcb61f7 100644
--- a/doc/src/snippets/code/src_corelib_codecs_qtextcodec.cpp
+++ b/doc/src/snippets/code/src_corelib_codecs_qtextcodec.cpp
@@ -62,6 +62,7 @@ while (new_data_available()) {
QByteArray chunk = get_new_data();
string += decoder->toUnicode(chunk);
}
+delete decoder;
//! [2]