projects
/
NetworkManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2879e1
)
device/team: fix tiny memory leak
author
Beniamino Galvani
<bgalvani@redhat.com>
Mon, 1 Feb 2016 21:26:05 +0000
(22:26 +0100)
committer
Beniamino Galvani
<bgalvani@redhat.com>
Mon, 1 Feb 2016 21:26:05 +0000
(22:26 +0100)
Fixes:
10f9b6c58bcf3679a117ea75913cdf3aeee15578
src/devices/team/nm-device-team.c
patch
|
blob
|
history
diff --git
a/src/devices/team/nm-device-team.c
b/src/devices/team/nm-device-team.c
index
c6e527a
..
97b9065
100644
(file)
--- a/
src/devices/team/nm-device-team.c
+++ b/
src/devices/team/nm-device-team.c
@@
-218,6
+218,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,