Created attachment 107238 [details] Patch to free removed entries. It looks like Dict.remove just copies over the entries that it removes, and thus doesn't free the key or the object associated with the entry. This is a memory leak. The attached patch should fix that.
Wouldn't this crash if the entry does not exist?
Yeah it would, so i've fixed it and commited the fixed patch. Thanks :)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.