Opened 10 years ago
Last modified 10 years ago
#8259 new Bugs
ICU is used but not cleaned up, leaking memory.
Reported by: | Owned by: | Artyom Beilis | |
---|---|---|---|
Milestone: | To Be Determined | Component: | locale |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
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?
Attachments (1)
Change History (2)
by , 10 years ago
Attachment: | boost-03-icu_cleanup.patch added |
---|
comment:1 by , 10 years ago
Note:
See TracTickets
for help on using tickets.
This has been discussed on mailing lists as a non-issue.