mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
plug QTextCodec memory leaks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
11876756e7
commit
ab1013f279
2 changed files with 3 additions and 5 deletions
|
@ -1,3 +1 @@
|
|||
leak:libfontconfig.so
|
||||
leak:Katie::QTextCodec::codecForName
|
||||
leak:Katie::QTextCodec::codecForMib
|
|
@ -83,8 +83,8 @@ public:
|
|||
*/
|
||||
QTextCodecCleanup::~QTextCodecCleanup()
|
||||
{
|
||||
for (int i = 0; i < this->size(); i++) {
|
||||
delete this->at(i);
|
||||
while (begin() != end()) {
|
||||
delete *begin();
|
||||
}
|
||||
localeMapper = nullptr;
|
||||
#ifndef QT_NO_DEBUG
|
||||
|
|
Loading…
Add table
Reference in a new issue