diff --git a/cg/cgpagame.cpp b/cg/cgpagame.cpp index 39f2ee3b5..754ffb09e 100755 --- a/cg/cgpagame.cpp +++ b/cg/cgpagame.cpp @@ -1462,10 +1462,10 @@ bool TPagamento::read(TTable* t, TTable* r) t = new TTable("%CPG"); istnew = TRUE; } + _rate.destroy(); t->zero(); t->put("CODTAB", _code); if (t->read() != NOERR) return FALSE; - _rate.destroy(); // set everything _rdiff = t->get_bool("B1");