ICU-3259 Fix a memory leak

X-SVN-Rev: 13809
This commit is contained in:
George Rhoten 2003-11-21 17:58:30 +00:00
parent f36be0e1b3
commit 93c5cc25fe

View file

@ -412,6 +412,8 @@ void IntlCalendarTest::TestJapaneseFormat() {
CHECK(status, UnicodeString("Creating ja_JP_TRADITIONAL calendar"));
Calendar *cal2 = cal->clone();
delete cal;
cal = NULL;
// Test simple parse/format with adopt