
2 Oct
2017
2 Oct
'17
8:06 a.m.
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@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>