mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 10:22: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:libfontconfig.so
|
||||||
leak:Katie::QTextCodec::codecForName
|
|
||||||
leak:Katie::QTextCodec::codecForMib
|
|
|
@ -83,8 +83,8 @@ public:
|
||||||
*/
|
*/
|
||||||
QTextCodecCleanup::~QTextCodecCleanup()
|
QTextCodecCleanup::~QTextCodecCleanup()
|
||||||
{
|
{
|
||||||
for (int i = 0; i < this->size(); i++) {
|
while (begin() != end()) {
|
||||||
delete this->at(i);
|
delete *begin();
|
||||||
}
|
}
|
||||||
localeMapper = nullptr;
|
localeMapper = nullptr;
|
||||||
#ifndef QT_NO_DEBUG
|
#ifndef QT_NO_DEBUG
|
||||||
|
|
Loading…
Add table
Reference in a new issue