From 0b4240125e8396bd79e7be05a87b5762c896fb48 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Wed, 26 Nov 2003 02:02:09 +0000 Subject: [PATCH] ICU-3259 Fix a memory leak X-SVN-Rev: 13894 --- icu4c/source/test/intltest/astrotst.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/icu4c/source/test/intltest/astrotst.cpp b/icu4c/source/test/intltest/astrotst.cpp index 452fc818523..05c4497214d 100644 --- a/icu4c/source/test/intltest/astrotst.cpp +++ b/icu4c/source/test/intltest/astrotst.cpp @@ -354,6 +354,12 @@ void AstroTest::TestSunriseTimes(void) { // a.setDate(cal.getTime()); // long r = a.getSunRiseSet2(true); delete astro3; + delete tz; + delete cal; + delete cal2; + delete df_t; + delete df_d; + delete df_dt; closeAstro(status); ASSERT_OK(status); } @@ -409,6 +415,8 @@ void AstroTest::TestBasics(void) { // astro.setDate(cal3.getTime()); // astro.foo(); + delete cal3; + delete d3; ASSERT_OK(status); closeAstro(status); ASSERT_OK(status);