[Fixed] Dictionary and DictionaryIterator cause memory leaks

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Dictionary and DictionaryIterator cause memory leaks

Postby 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).
User avatar
m8f
the dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff

Re: Dictionary and DictionaryIterator cause memory leaks

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

User avatar
m8f
the dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff

Re: Dictionary and DictionaryIterator cause memory leaks

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

Added test file to the PR.
User avatar
m8f
the dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff

Re: Dictionary and DictionaryIterator cause memory leaks

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

Sorry, I thought I had added this fix already.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Bugs

Who is online

Users browsing this forum: Semrush [Bot] and 0 guests