From fb4aa196dadc867aed8b10cfeda5215420766000 Mon Sep 17 00:00:00 2001 From: villa Date: Thu, 27 Jul 1995 10:00:41 +0000 Subject: [PATCH] Basta commit, basta! Basta! Basta! Finito questo telefonera' Vladimiro? E cosa vorra' stavolta? git-svn-id: svn://10.65.10.50/trunk@1647 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg4304.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) {