From f767e05f4a6477fcc3b972362385990a6b9cd9c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Mon, 30 Sep 2013 19:28:52 +0200 Subject: [PATCH] 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 --- src/devices/nm-device-team.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/devices/nm-device-team.c b/src/devices/nm-device-team.c index e322d84fbf..db16465254 100644 --- a/src/devices/nm-device-team.c +++ b/src/devices/nm-device-team.c @@ -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