libvirt/src/network
Julio Faracco 4aa1ab0e79 network: Remove memory leak caused by wrong initialization
This commit fix a wrong variable initialization. There is a variable
called `new_lease` which is being initialized with the content of
parameter `lease`. To avoid memory leak, the proper way is initialize
with NULL first. This wrong statement was added by commit 97a0aa24.
There are some other improvements also.

Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-04-27 09:50:15 +02:00
..
bridge_driver_linux.c Add a space before ending a comment 2020-01-30 12:32:03 +01:00
bridge_driver_nop.c network: use G_GNUC_UNUSED 2019-10-15 11:25:23 +02:00
bridge_driver_platform.c
bridge_driver_platform.h
bridge_driver.c network: Remove memory leak caused by wrong initialization 2020-04-27 09:50:15 +02:00
bridge_driver.h conf: Add <lease/> option for <dhcp/> settings 2020-04-23 10:59:23 +02:00
default.xml
leaseshelper.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
libvirt.zone
Makefile.inc.am systemd: Add sysconf files for all daemons 2020-04-03 11:50:47 +02:00
virtnetworkd.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtnetworkd.service.in systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
virtnetworkd.sysconf systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00