GNOME Bugzilla – Bug 711768
Fix memory leaks in libgmodule tests
Last modified: 2018-05-24 15:52:41 UTC
In order to make libgmodule tests be valgrindable, I'll post patches which fix memory leaks. In general it's good practice to free stuff in tests, so that we can run through those code paths, and make sure we received appropriate references/memory.
Created attachment 259420 [details] [review] module-test: Fix leaks in test
Review of attachment 259420 [details] [review]: Looks right.
Comment on attachment 259420 [details] [review] module-test: Fix leaks in test Attachment 259420 [details] pushed as 6294d73 - module-test: Fix leaks in test
Leaving this open for now as I think there may be a few more tests I haven't found yet.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/781.