diff --git a/hwpfilter/source/hbox.h b/hwpfilter/source/hbox.h index 8be92f73023d..0dc7076a6b59 100644 --- a/hwpfilter/source/hbox.h +++ b/hwpfilter/source/hbox.h @@ -527,15 +527,16 @@ struct TCell struct Table { - Table(){}; - ~Table(){ + Table() : box(NULL) {}; + ~Table() { std::list::iterator it = cells.begin(); for( ; it != cells.end(); ++it) delete *it; }; + Columns columns; - Rows rows; - std::list cells; + Rows rows; + std::list cells; TxtBox *box; };