Page 1 of 1

Dictionary and DictionaryIterator cause memory leaks

Posted: Tue Jan 28, 2020 11:41 pm
by m8f
Cleaning up memory taken by Dictionary and DictionaryIterator is not implemented. It's my omission.

I'm working on the fix. Creating this topic so it's a known issue.

To fix it, I'll derive both Dictionary and DictionaryIterator from DObject (with all corresponding macros).

Re: Dictionary and DictionaryIterator cause memory leaks

Posted: Wed Feb 05, 2020 10:34 pm
by m8f

Re: Dictionary and DictionaryIterator cause memory leaks

Posted: Sun Mar 08, 2020 10:47 am
by m8f
Added test file to the PR.

Re: Dictionary and DictionaryIterator cause memory leaks

Posted: Sun Mar 08, 2020 11:46 am
by Graf Zahl
Sorry, I thought I had added this fix already.