Skip to content

Commit c575352

Browse files
committed
~IfcCharacterDecoder: call ucnv_flushCache() to fix two ICU mem leaks.
1 parent 2f8fa32 commit c575352

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ifcparse/IfcCharacterDecoder.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ IfcCharacterDecoder::~IfcCharacterDecoder() {
118118
destination = 0;
119119
converter = 0;
120120
compatibility_converter = 0;
121+
ucnv_flushCache();
121122
#endif
122123
}
123124
IfcCharacterDecoder::operator std::string() {

0 commit comments

Comments
 (0)