diff --git a/cg/cg4304.cpp b/cg/cg4304.cpp index f663c82bc..eeaf4d7b0 100755 --- a/cg/cg4304.cpp +++ b/cg/cg4304.cpp @@ -772,7 +772,12 @@ void TLiquidazione_app::describe_liq(int month, const char* codatts, // aggiunge eventuale satellite per rimborso infraannuale - if (di != NULL && d._r0.sign() < 0) d->_arr.add(di); + if (di != NULL) + { + if (d._r0.sign() < 0) + d->_arr.add(di); + else delete di; + } if (!_is_visliq) {