mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 00:38:07 +02:00
libnm: fix memleak setting "ipv[46].dhcp-iaid" property
Fixes:56a1a5426a('all: add ipvX.dhcp-iaid properties') (cherry picked from commit47cdcb3ce2)
This commit is contained in:
parent
f8766e8239
commit
7aa2214014
1 changed files with 1 additions and 0 deletions
|
|
@ -6019,6 +6019,7 @@ set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *ps
|
|||
priv->dhcp_timeout = g_value_get_int(value);
|
||||
break;
|
||||
case PROP_DHCP_IAID:
|
||||
g_free(priv->dhcp_iaid);
|
||||
priv->dhcp_iaid = g_value_dup_string(value);
|
||||
break;
|
||||
case PROP_DHCP_HOSTNAME_FLAGS:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue