The memory leak is found by a static analyzer developed at [CAST]( https://www.linkedin.com/company/cast-center/).

The memory allocated [at line 3290](https://github.com/LibreDWG/libredwg/blob/057653b37a7bb45cdfa8cecddfaad95b8c20c441/src/bits.c#L3290) may left without free in case of returning from [line 3366](https://github.com/LibreDWG/libredwg/blob/057653b37a7bb45cdfa8cecddfaad95b8c20c441/src/bits.c#L3366).
Memory leak in function 'bit_TV_to_utf8'
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : Memory leak in function 'bit_TV_to_utf8'
Issue date:

--- start body ---
The memory leak is found by a static analyzer developed at [CAST]( https://www.linkedin.com/company/cast-center/).

The memory allocated [at line 3290](https://github.com/LibreDWG/libredwg/blob/057653b37a7bb45cdfa8cecddfaad95b8c20c441/src/bits.c#L3290) may left without free in case of returning from [line 3366](https://github.com/LibreDWG/libredwg/blob/057653b37a7bb45cdfa8cecddfaad95b8c20c441/src/bits.c#L3366).
--- end body ---
