mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-3259 Fix a memory leak
X-SVN-Rev: 13809
This commit is contained in:
parent
f36be0e1b3
commit
93c5cc25fe
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue