]> xenbits.xensource.com Git - libvirt.git/commit
virNetworkObjDispose: Don't leak virMacMap object
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 5 Apr 2017 08:25:50 +0000 (10:25 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 5 Apr 2017 13:18:30 +0000 (15:18 +0200)
commitc455591f379f826b5ec67b3337d6c8b05faabc8c
treed8d4dbb97cd672d9097e04152bc826bc5fd3fed4
parent349badbffd50f86580884b29fdfa7ad6ea082c2e
virNetworkObjDispose: Don't leak virMacMap object

Even though the virMacMap object is not necessarily created at
the same time as the network object, the former makes no sense
without the latter and thus should be unref'd in the network
object dispose function.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/network_conf.c