From 68529873b51ef440a816a8f78f7739469e32a948 Mon Sep 17 00:00:00 2001 From: Tinny Ng <tng@apache.org> Date: Tue, 27 Aug 2002 03:04:19 +0000 Subject: [PATCH] Undo [Bug 7763] in case users use ICU outside the parser. git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174187 13f79535-47bb-0310-9956-ffa450edef68 --- doc/releases.xml | 7 ------- src/xercesc/util/Transcoders/ICU/ICUTransService.cpp | 6 ++++++ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/doc/releases.xml b/doc/releases.xml index e1f6bc7c5..d65eee675 100644 --- a/doc/releases.xml +++ b/doc/releases.xml @@ -208,13 +208,6 @@ </td> </tr> - <tr> - <td>2002-08-14</td> - <td>Maxim Volkonovsky</td> - <td>[Bug 7763] Final memory cleanup for ICU transcoder. - </td> - </tr> - <tr> <td>2002-08-13</td> <td>PeiYong Zhang</td> diff --git a/src/xercesc/util/Transcoders/ICU/ICUTransService.cpp b/src/xercesc/util/Transcoders/ICU/ICUTransService.cpp index 7832088ca..d9c6f651a 100644 --- a/src/xercesc/util/Transcoders/ICU/ICUTransService.cpp +++ b/src/xercesc/util/Transcoders/ICU/ICUTransService.cpp @@ -170,10 +170,16 @@ ICUTransService::ICUTransService() ICUTransService::~ICUTransService() { + /* + * commented out the following clean up code + * in case users use ICU outside of the parser + * if we clean up here, users' code may crash + * #if (U_ICU_VERSION_MAJOR_NUM >= 2) // release all lasily allocated data u_cleanup(); #endif + */ } -- GitLab