cid#707898 Uninitialized pointer field
Change-Id: I9e972da45b10d6c88ade34fb69cb49affd2063fb
This commit is contained in:
@@ -527,15 +527,16 @@ struct TCell
|
|||||||
|
|
||||||
struct Table
|
struct Table
|
||||||
{
|
{
|
||||||
Table(){};
|
Table() : box(NULL) {};
|
||||||
~Table(){
|
~Table() {
|
||||||
std::list<TCell*>::iterator it = cells.begin();
|
std::list<TCell*>::iterator it = cells.begin();
|
||||||
for( ; it != cells.end(); ++it)
|
for( ; it != cells.end(); ++it)
|
||||||
delete *it;
|
delete *it;
|
||||||
};
|
};
|
||||||
|
|
||||||
Columns columns;
|
Columns columns;
|
||||||
Rows rows;
|
Rows rows;
|
||||||
std::list<TCell*> cells;
|
std::list<TCell*> cells;
|
||||||
TxtBox *box;
|
TxtBox *box;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user