[libvirt] [PATCH 2/2] nwfilter: Fix memory leak and error path
eskultet at redhat.com
Mon Oct 2 12:06:16 UTC 2017
On Fri, Sep 29, 2017 at 09:31:09AM -0400, John Ferlan wrote:
> Found by Coverity. If virNWFilterHashTablePut, then the 3rd arg @val
> must be free'd since it would be leaked.
> This also fixes potential problem on the error path where the caller
> could assume the virNWFilterHashTablePut was successful when in fact
> it failed leading to other issues.
> Signed-off-by: John Ferlan <jferlan at redhat.com>
Reviewed-by: Erik Skultety <eskultet at redhat.com>
More information about the libvir-list