network: Fix crash entering IPv4 Gateway
The wrong destructor was used for a GPtrArray of NMIPAddress. https://bugzilla.gnome.org/show_bug.cgi?id=771432
This commit is contained in:
parent
7ba7c450d6
commit
7f601cfed4
1 changed files with 1 additions and 1 deletions
|
@ -686,7 +686,7 @@ ui_to_setting (CEPageIP4 *page)
|
|||
}
|
||||
}
|
||||
|
||||
addresses = g_ptr_array_new_with_free_func (g_object_unref);
|
||||
addresses = g_ptr_array_new_with_free_func (nm_ip_address_unref);
|
||||
if (g_str_equal (method, NM_SETTING_IP4_CONFIG_METHOD_MANUAL))
|
||||
children = gtk_container_get_children (GTK_CONTAINER (page->address_list));
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue