]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virnetdevip: Free data.devices in virNetDevIPCheckIPv6Forwarding() too
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 13 Aug 2018 09:16:06 +0000 (11:16 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 13 Aug 2018 10:32:02 +0000 (12:32 +0200)
commite1019607610e78ea1e908b402dcfce3909fce237
treefd22f5d118091194d1a64b6edbef191baada1889
parente634c7cd0d3265506198e1f58f1af1fd774f06b1
virnetdevip: Free data.devices in virNetDevIPCheckIPv6Forwarding() too

We are freeing the individual strings (which were filled by
virNetDevIPCheckIPv6ForwardingCallback()) but not the array
itself.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/util/virnetdevip.c