mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 04:40:32 +01:00
libnm-util: fix minor memory leak in infiniband setting
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
5cdd592457
commit
b8b8af38c1
1 changed files with 1 additions and 0 deletions
|
|
@ -296,6 +296,7 @@ set_property (GObject *object, guint prop_id,
|
|||
g_clear_pointer (&priv->virtual_iface_name, NULL);
|
||||
break;
|
||||
case PROP_PARENT:
|
||||
g_free (priv->parent);
|
||||
priv->parent = g_value_dup_string (value);
|
||||
g_clear_pointer (&priv->virtual_iface_name, NULL);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue