Commit 63d546c5 authored by jan.koester's avatar jan.koester
Browse files

fixed table bug

parent fb6caf2c
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1282,9 +1282,10 @@ libhtmlpp::HtmlTable::HtmlTable(){
libhtmlpp::HtmlTable::~HtmlTable(){
    Row *next=_firstRow,*curel=nullptr;
    while(next){
        next=curel->_nextRow;
        curel->_nextRow =nullptr;
        delete curel;
        curel=next->_nextRow;
        next->_nextRow=nullptr;
        delete next;
        next=curel;
    }
}