team: chain up parent dispose() in NMDeviceTeam dispose() (rh #1013593)

NMDeviceTeam dispose() did not chain up to parent dispose(). This prevented
parent dispose() to be called (only finalize()) and thus link_changed_cb()
and device_ip_changed() handlers were not disconnected. Later these handlers
were called on invalid device resulting in a crash.

https://bugzilla.redhat.com/show_bug.cgi?id=1013593
This commit is contained in:
Jiří Klimeš 2013-09-30 19:28:52 +02:00
parent ed08a3fe04
commit f767e05f4a

View file

@ -683,6 +683,8 @@ static void
dispose (GObject *object)
{
teamd_cleanup (NM_DEVICE (object));
G_OBJECT_CLASS (nm_device_team_parent_class)->dispose (object);
}
static void