0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 00:33:02 +03:00

fix #6 Утечка памяти, если метод модели data возвращает дефолтный QVariant для всех ячеек таблицы

This commit is contained in:
Arin Alex 2016-02-24 22:17:26 +03:00
parent 59635e3216
commit f774ab5a49

View File

@ -338,7 +338,8 @@ void ReportRender::renderBand(BandDesignIntf *patternBand, ReportRender::DataRen
} }
} }
} }
} } else {delete bandClone;}
if (patternBand->isFooter()) if (patternBand->isFooter())
datasources()->clearGroupFunctionValues(patternBand->objectName()); datasources()->clearGroupFunctionValues(patternBand->objectName());
} }