]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: macaddr: Introduce a new virMacAddrFree helper
authorSukrit Bhatnagar <skrtbhtngr@gmail.com>
Sat, 28 Jul 2018 18:01:19 +0000 (23:31 +0530)
committerErik Skultety <eskultet@redhat.com>
Tue, 7 Aug 2018 14:29:55 +0000 (16:29 +0200)
commit8b67906e8d063bec2dfdc68a71189a6dcaf79f36
treef03531f15e424b27da52220fe43466cd320fe93d
parent7ec89811a6572cdb122a5c3b82501a23a1b95f85
util: macaddr: Introduce a new virMacAddrFree 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/virmacaddr.c
src/util/virmacaddr.h