]> git.ipfire.org Git - thirdparty/libvirt.git/commit
interface: avoid memory leak on parse error
authorEric Blake <eblake@redhat.com>
Thu, 30 Jun 2011 23:13:49 +0000 (17:13 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 1 Jul 2011 22:46:20 +0000 (16:46 -0600)
commit9e8b7c15234a073314bfd7f449292c906390afd2
tree21ef24d4d39353cc0ba171e8fd9ee2c134650872
parente07e9a9456df21fb4717353b2c3475d4f6c56a05
interface: avoid memory leak on parse error

Detected by Coverity.  Unlikely to hit unless the file contents
were corrupted.

* src/util/interface.c (ifaceRestoreMacAddress): Plug leak.
src/util/interface.c