[libvirt] [PATCH 0/2] Fix another possible memory leak in nwfilter

John Ferlan jferlan at redhat.com
Fri Sep 29 13:31:07 UTC 2017


Oh lucky me - why am I stuck in nwfilter land....

The first patch just cleans up the code and the second one resolves the
memory leak problem as well as a general error path problem.

Coverity noted that the error path wasn't checked - this is because
other recent changes in the module caused Coverity to decide to rethink
about this one noticing the lack of an error check. Of course upon more
visual inspection, the memory leak was obvious too. 

John Ferlan (2):
  nwfilter: Clean up virNWFilterDetermineMissingVarsRec returns
  nwfilter: Fix memory leak and error path

 src/nwfilter/nwfilter_gentech_driver.c | 30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)

-- 
2.13.5




More information about the libvir-list mailing list