diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2013-09-30 19:28:52 +0200 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2013-10-01 10:23:12 +0200 |
commit | f767e05f4a6477fcc3b972362385990a6b9cd9c2 (patch) | |
tree | cef943c281941346a7596c6dded0fd807481b7e0 | |
parent | ed08a3fe049bf3e173d253c85e8933a3c8adb5fc (diff) | |
download | NetworkManager-f767e05f4a6477fcc3b972362385990a6b9cd9c2.tar.gz |
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
-rw-r--r-- | src/devices/nm-device-team.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |