diff --git a/icu4c/source/common/ubidi.c b/icu4c/source/common/ubidi.c index 2a3dee5587..52d2e9626e 100644 --- a/icu4c/source/common/ubidi.c +++ b/icu4c/source/common/ubidi.c @@ -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); }