GNOME Bugzilla – Bug 709369
nmcli: fix some leaks found by valgrind
Last modified: 2013-10-24 02:24:13 UTC
See patch. In particular, note the FIXME, because I'm not quite sure what to do there.
Created attachment 256391 [details] [review] nmcli: fix some leaks found by valgrind
Thanks, it looks good except: - the FIXME chunk is needed, but only belongs to (argc==0) branch - missing g_free (info->con_type); in master_iface_slaves_check() Fixed in fixup! commit attached in comment #3 Also simplified the con_type handling, it's actually not needed - comment #4
Created attachment 257910 [details] [review] [PATCH] fixup for the original patch Fixup for the original patch.
Created attachment 257911 [details] [review] [PATCH] do not pass con_type to the activate_connection_cb() callback We don't actually need the connection type in activate_connection_cb() callback, simplify the code.
squashed your fixup and committed both patches