ver 0.9.0 issue

Started by James C. Fuller, March 31, 2025, 12:40:20 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

Charles Pegge

Bstring uses bstr olestrings directly but does not hold them in a garbage collection list. So they have to be deleted explicitly.

Strings however, point to a location in a garbage collection list, which contains the actual bstr.

In this case, the lyrics dynamic array is explicitly deleted (del) in WM_DESTROY. My implementation of del when applied to dynamic arrays, frees each element before freeing the array itself.