ICU-4559 Fix a memory leak.

X-SVN-Rev: 17831
This commit is contained in:
George Rhoten 2005-06-08 21:50:10 +00:00
parent 8c677a95da
commit 516777dd38

View File

@ -243,6 +243,9 @@ ubidi_close(UBiDi *pBiDi) {
if(pBiDi->levelsMemory!=NULL) {
uprv_free(pBiDi->levelsMemory);
}
if(pBiDi->parasMemory!=NULL) {
uprv_free(pBiDi->parasMemory);
}
if(pBiDi->runsMemory!=NULL) {
uprv_free(pBiDi->runsMemory);
}