diff options
author | Iru Dog <mytbk920423@gmail.com> | 2014-10-15 23:24:24 +0800 |
---|---|---|
committer | Iru Dog <mytbk920423@gmail.com> | 2014-10-16 13:38:36 +0800 |
commit | 816199a63a58d3613203636ad3b1240c11ae835c (patch) | |
tree | e0dbdd3948c0514d8fc42d8cc9af4e2e2aa597ed /src/fqterm | |
parent | b835ac2aef658cbc2188669a6263121afa6d7973 (diff) | |
download | fqterm-816199a63a58d3613203636ad3b1240c11ae835c.tar.xz |
Add UAOcodec again
The previous bug is a result of deleting uaocodec_, for more info,
check out for:
http://qt-project.org/doc/qt-5/qtextcodec.html#dtor.QTextCodec
thanks to valgrind
Diffstat (limited to 'src/fqterm')
-rw-r--r-- | src/fqterm/fqterm_frame.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fqterm/fqterm_frame.cpp b/src/fqterm/fqterm_frame.cpp index 47aa433..e5c863e 100644 --- a/src/fqterm/fqterm_frame.cpp +++ b/src/fqterm/fqterm_frame.cpp @@ -207,7 +207,9 @@ FQTermFrame::~FQTermFrame() { delete imageViewer_; delete shortcutHelper_; delete config_; - delete uaoCodec_; + // should not delete yourself!! + // http://qt-project.org/doc/qt-5/qtextcodec.html#dtor.QTextCodec + // delete uaoCodec_; delete windowManager_; FQTermIPLocation::Destroy(); serverThread_->quit(); |