]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: close the ioctl socket at the end of if(Get|Set)MacAddress
authorLaine Stump <laine@laine.org>
Wed, 6 Jul 2011 06:50:06 +0000 (02:50 -0400)
committerLaine Stump <laine@laine.org>
Thu, 7 Jul 2011 00:16:51 +0000 (20:16 -0400)
commit24442b60b9bc8794ad9c783704e0c7ac62b3fa5a
tree387bef2ac3fd0d0f94c1c40c5da8af8a3a1ac675
parentde796a328d3a68cefa50f562bfc345e9fe1266dc
util: close the ioctl socket at the end of if(Get|Set)MacAddress

Otherwise this will leak an fd each time one of these functions is
called.
src/util/interface.c