]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: netdevip: Introduce virNetDevIPAddrFree helper
authorSukrit Bhatnagar <skrtbhtngr@gmail.com>
Sat, 28 Jul 2018 18:01:26 +0000 (23:31 +0530)
committerErik Skultety <eskultet@redhat.com>
Tue, 7 Aug 2018 14:29:55 +0000 (16:29 +0200)
commit66a19eaa4111511d68d567ffe765b0cb201e5083
tree33cde5f377e075f710fc0818e3f00994d9c53afe
parentb0a8cd876c68b95cf4d389633bf1da9454d946ac
util: netdevip: Introduce virNetDevIPAddrFree helper

This will not only help us in the future when adding more and more
VIR_AUTOPTR instances, we're also consistent in that a compound type
gets its own function which can easily be extended in the future if
necessary.

Signed-off-by: Sukrit Bhatnagar <skrtbhtngr@gmail.com>
Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/util/virnetdevip.c
src/util/virnetdevip.h