GNOME Bugzilla – Bug 770610
daemon: Clean-up the memory management of our GKeyFile instances
Last modified: 2016-09-01 14:54:12 UTC
I think that we can get rid of key_files_to_free from src/daemon/goadaemon.c and clean-up some related code. See the attached patches.
Created attachment 334465 [details] [review] daemon, provider, utils: Use g_key_file_unref instead g_key_file_free
Created attachment 334466 [details] [review] daemon: Let KeyFileData own a reference to the GKeyFile
Created attachment 334467 [details] [review] daemon: Reduce one level of indentation
Created attachment 334468 [details] [review] daemon: Consolidate exit paths & make the ref / unref more obvious
Created attachment 334469 [details] [review] daemon: Remove the GList to track the GKeyFiles
I am pushing these now so that they can get some testing as part of this week's 3.21.91 release. Please let me know if you notice something.