cid#707898 Uninitialized pointer field

Change-Id: I9e972da45b10d6c88ade34fb69cb49affd2063fb
This commit is contained in:
Noel Grandin
2014-02-20 15:25:12 +02:00
parent 2b9fe0c75e
commit 2cd2130d67

View File

@@ -527,15 +527,16 @@ struct TCell
struct Table
{
Table(){};
~Table(){
Table() : box(NULL) {};
~Table() {
std::list<TCell*>::iterator it = cells.begin();
for( ; it != cells.end(); ++it)
delete *it;
};
Columns columns;
Rows rows;
std::list<TCell*> cells;
Rows rows;
std::list<TCell*> cells;
TxtBox *box;
};