mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 17:30:35 +01:00
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:
parent
ed08a3fe04
commit
f767e05f4a
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue