mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 10:17:23 +00:00
ICU-4559 Fix a memory leak.
X-SVN-Rev: 17831
This commit is contained in:
parent
8c677a95da
commit
516777dd38
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue