mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-05 21:45:37 +00:00
ICU-9979 Fix some memory leaks in cintltst
X-SVN-Rev: 33332
This commit is contained in:
parent
6fa35102f2
commit
99ce96c383
2 changed files with 3 additions and 0 deletions
|
@ -1830,6 +1830,7 @@ static void TestCEValidity()
|
|||
log_err("%s collator, ucol_tok_parseNextToken failed with status %s\n", loc, u_errorName(status));
|
||||
}
|
||||
uprv_free(src.source);
|
||||
uprv_free(src.reorderCodes);
|
||||
}
|
||||
|
||||
ucol_close(coll);
|
||||
|
@ -2035,6 +2036,7 @@ static void TestSortKeyValidity(void)
|
|||
log_err("%s collator, ucol_tok_parseNextToken failed with status %s\n", locale[count], u_errorName(status));
|
||||
}
|
||||
uprv_free(src.source);
|
||||
uprv_free(src.reorderCodes);
|
||||
}
|
||||
|
||||
ucol_close(coll);
|
||||
|
|
|
@ -1001,6 +1001,7 @@ static void testAgainstUCA(UCollator *coll, UCollator *UCA, const char *refName,
|
|||
log_verbose("No immediate difference with Win32!\n");
|
||||
}
|
||||
uprv_free(src.source);
|
||||
uprv_free(src.reorderCodes);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue