From 516777dd388a6499d95fe3e0b916eefe2b5673b6 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Wed, 8 Jun 2005 21:50:10 +0000 Subject: [PATCH] ICU-4559 Fix a memory leak. X-SVN-Rev: 17831 --- icu4c/source/common/ubidi.c | 3 +++ 1 file changed, 3 insertions(+) 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); }