Dictionary and DictionaryIterator cause memory leaks

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Dictionary and DictionaryIterator cause memory leaks

Re: Dictionary and DictionaryIterator cause memory leaks

by Graf Zahl » Sun Mar 08, 2020 11:46 am

Sorry, I thought I had added this fix already.

Re: Dictionary and DictionaryIterator cause memory leaks

by m8f » Sun Mar 08, 2020 10:47 am

Added test file to the PR.

Re: Dictionary and DictionaryIterator cause memory leaks

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

Dictionary and DictionaryIterator cause memory leaks

by m8f » Tue Jan 28, 2020 11:41 pm

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).

Top