From ac1228488e2b65f2ee96313da74be0ed58dfa4d4 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 31 Mar 2006 06:24:45 +0000 Subject: [PATCH] ICU-5138 Separate the bidi data from the data loading. X-SVN-Rev: 19500 --- icu4c/source/common/ubidi_props.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/icu4c/source/common/ubidi_props.c b/icu4c/source/common/ubidi_props.c index 1226fab918..8538c6c5bd 100644 --- a/icu4c/source/common/ubidi_props.c +++ b/icu4c/source/common/ubidi_props.c @@ -191,7 +191,9 @@ ubidi_openBinary(const uint8_t *bin, int32_t length, UErrorCode *pErrorCode) { U_CAPI void U_EXPORT2 ubidi_closeProps(UBiDiProps *bdp) { if(bdp!=NULL) { +#if !UBIDI_HARDCODE_DATA udata_close(bdp->mem); +#endif uprv_free(bdp); } }