cid#707898 Uninitialized pointer field
Change-Id: I9e972da45b10d6c88ade34fb69cb49affd2063fb
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user