ICU-9979 Fix some memory leaks in cintltst

X-SVN-Rev: 33332
This commit is contained in:
Michael Ow 2013-02-26 16:57:42 +00:00
parent 6fa35102f2
commit 99ce96c383
2 changed files with 3 additions and 0 deletions

View file

@ -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);

View file

@ -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);
}
}