mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 11:40:08 +01:00
device/team: fix tiny memory leak
Fixes:10f9b6c58b(cherry picked from commitdc4d0a4200)
This commit is contained in:
parent
5d4d0fd7e6
commit
b0d84e84fa
1 changed files with 1 additions and 0 deletions
|
|
@ -231,6 +231,7 @@ master_update_slave_connection (NMDevice *self,
|
|||
|
||||
err = teamdctl_port_config_get_raw_direct (tdc, iface_slave, (char **)&team_port_config);
|
||||
port_config = g_strdup (team_port_config);
|
||||
teamdctl_disconnect (tdc);
|
||||
teamdctl_free (tdc);
|
||||
if (err) {
|
||||
g_set_error (error,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue