On Sat, Sep 28, 2019 at 10:05:30PM +0200, Michal Privoznik wrote: > The findLease() function allocates @addr array iff no error > occurred and at least one satisfactory record was found. > Therefore, there is no need to call free() if findLease() failed, > or did not find any records as addr == NULL. > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx> -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list