[Boost-bugs] [Boost C++ Libraries] #8259: ICU is used but not cleaned up, leaking memory.

Subject: [Boost-bugs] [Boost C++ Libraries] #8259: ICU is used but not cleaned up, leaking memory.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-07 00:57:19


#8259: ICU is used but not cleaned up, leaking memory.
-------------------------------------+--------------------------------------
 Reporter: 166291@… | Owner: artyom
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: locale
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 So ICU is used in Boost.Locale, but not cleaned up, which leaks memory.

 I've attached a patch that fixes this, but has some setbacks:

 - It's not thread safe (that I know of).
 - ICU may be used in other Boost libraries (like Regex) and it will break
 their data.
 - ICU may be used in user applications and it will break their data.

 A solution would be to make an interface for the application users to use
 that cleans up ICU specifically, but that'd break encapsulation would it
 not?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8259>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC