diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2019-04-11 20:53:10 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2019-04-12 11:19:58 +0200 |
commit | 82c74eb4e2a294c9521c026e160ec763e9adda80 (patch) | |
tree | 19acd6a5fd39c1e43f7c9a6dde0b77e23e7bf575 | |
parent | ade14408d7232ce6b6133202c675772c7444abbd (diff) | |
download | NetworkManager-bg/sanitizers.tar.gz |
device: fix memory leakbg/sanitizers
-rw-r--r-- | src/devices/nm-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 957455204c..d85393eb7a 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -9948,7 +9948,7 @@ nm_device_activate_stage3_ip6_start (NMDevice *self) NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self); NMActStageReturn ret; NMDeviceStateReason failure_reason = NM_DEVICE_STATE_REASON_NONE; - NMIP6Config *ip6_config = NULL; + gs_unref_object NMIP6Config *ip6_config = NULL; g_assert (priv->ip_state_6 == NM_DEVICE_IP_STATE_WAIT); |