]> xenbits.xensource.com Git - libvirt.git/commit
nwfilter: Fix memory leak in virNWFilterIPAddrMapAddIPAddr
authorZhiPeng Lu <lu.zhipeng@zte.com.cn>
Wed, 27 Sep 2017 08:53:50 +0000 (16:53 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 27 Sep 2017 11:23:44 +0000 (07:23 -0400)
commit7e2086257602a4726e7affd2806f4f984ea6287d
tree72f4d6a984f6d664e828794fdfd202bed6efd8b3
parent955caf171c0370cf4a32eec9a18aca2b653e6b82
nwfilter: Fix memory leak in virNWFilterIPAddrMapAddIPAddr

If virNWFilterHashTablePut fails, then the @val was leaked.

Signed-off-by: ZhiPeng Lu <lu.zhipeng@zte.com.cn>
src/conf/nwfilter_ipaddrmap.c