GNOME Bugzilla – Bug 707638
memory leaks found by valgrind
Last modified: 2014-02-25 22:29:04 UTC
Valgrind found several memory leaks when I ran the unittests in valgrind.
Created attachment 254257 [details] [review] unref perms
Created attachment 254258 [details] [review] free threadpool
Created attachment 254259 [details] [review] unref threadpool
Created attachment 254260 [details] [review] unref factories
The second and third patch seem to be identical. I have pushed those three now, thanks: commit cafdba8445bc95311e47cac7839edbbf7527a60d Author: Jonas Holmberg <jonashg@axis.com> Date: Fri Sep 6 17:23:20 2013 +0200 mountpoints tests: unref matched factories https://bugzilla.gnome.org/show_bug.cgi?id=707638 commit c15c659b40d12fb5f6521934690cdf816a3c8e8d Author: Jonas Holmberg <jonashg@axis.com> Date: Thu Sep 5 18:01:18 2013 +0200 media tests: unref thread pool and caps https://bugzilla.gnome.org/show_bug.cgi?id=707638 commit 19178a413c7b7cc46899e34fb72746af4b7d9560 Author: Jonas Holmberg <jonashg@axis.com> Date: Thu Sep 5 08:53:55 2013 +0200 auth, media, media-factory: unref permissions https://bugzilla.gnome.org/show_bug.cgi?id=707638
(I made two minor changes in the finalize functions to not call set_perms(NULL) but unref directly.)
Created attachment 254300 [details] [review] free threadpool
(In reply to comment #5) > The second and third patch seem to be identical. I made a mistake. The missing patch has been uploaded now ("free threadpool").
Comment on attachment 254300 [details] [review] free threadpool Thanks!