libvirt/src/util
John Ferlan d257581417 util: Fix memory leak in virAuthConfigLookup
Since 5084091a, @authcred is filled by a g_key_file_get_string which is
now an allocated string as opposed to some hash table lookup value, so
we need to treat it as so.

Found by Coverity

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2020-06-16 15:01:05 +02:00
..
glibcompat.c
glibcompat.h
iohelper.c
Makefile.inc.am util: introduce shared daemon startup code 2020-03-27 16:22:49 +01:00
viralloc.c
viralloc.h
virarch.c
virarch.h
virarptable.c
virarptable.h
viraudit.c
viraudit.h
virauth.c util: Fix memory leak in virAuthGetCredential 2020-06-16 15:01:05 +02:00
virauth.h
virauthconfig.c util: Fix memory leak in virAuthConfigLookup 2020-06-16 15:01:05 +02:00
virauthconfig.h util: Fix memory leak in virAuthGetCredential 2020-06-16 15:01:05 +02:00
virbitmap.c
virbitmap.h
virbpf.c
virbpf.h
virbuffer.c
virbuffer.h
vircgroup.c Drop needless variable 2020-05-05 11:19:34 +02:00
vircgroup.h
vircgroupbackend.c
vircgroupbackend.h
vircgrouppriv.h
vircgroupv1.c
vircgroupv1.h
vircgroupv2.c
vircgroupv2.h
vircgroupv2devices.c
vircgroupv2devices.h
vircommand.c virCommand: Introduce virCommandGetArgList 2020-05-20 09:41:57 +02:00
vircommand.h Fix some wrong usage of ATTRIBUTE_NONNULL() 2020-06-09 11:39:07 +02:00
vircommandpriv.h
virconf.c
virconf.h
vircrypto.c
vircrypto.h
virdaemon.c util: Do not include sys/wait.h on Win32 2020-04-17 21:30:10 +02:00
virdaemon.h util: introduce shared daemon startup code 2020-03-27 16:22:49 +01:00
virdbus.c
virdbus.h
virdbuspriv.h
virdevmapper.c virDevMapperGetTargetsImpl: Check for dm major properly 2020-06-15 14:50:46 +02:00
virdevmapper.h util: Move virIsDevMapperDevice() to virdevmapper.c 2020-06-15 14:50:46 +02:00
virdnsmasq.c conf: Add <lease/> option for <dhcp/> settings 2020-04-23 10:59:23 +02:00
virdnsmasq.h conf: Add <lease/> option for <dhcp/> settings 2020-04-23 10:59:23 +02:00
virebtables.c
virebtables.h
virendian.h
virenum.c
virenum.h
virerror.c
virerror.h
virerrorpriv.h
virevent.c
virevent.h
vireventglib.c
vireventglib.h
vireventglibwatch.c
vireventglibwatch.h
vireventthread.c
vireventthread.h
virfcp.c
virfcp.h
virfdstream.c src: make virObjectUnref return void 2020-06-03 10:20:17 +01:00
virfdstream.h
virfile.c virfile: Handle directories in virFileBindMountDevice() 2020-03-20 14:34:32 +01:00
virfile.h util: Define g_autoptr callback for FILE 2020-05-25 16:09:41 +02:00
virfilecache.c
virfilecache.h
virfirewall.c
virfirewall.h
virfirewalld.c
virfirewalld.h
virfirewalldpriv.h
virfirewallpriv.h
virfirmware.c
virfirmware.h
virgettext.c
virgettext.h
virgic.c
virgic.h
virhash.c
virhash.h
virhashcode.c
virhashcode.h
virhook.c
virhook.h
virhostcpu.c hostcpu: Implement virHostCPUGetSignature for s390 2020-05-25 16:09:58 +02:00
virhostcpu.h hostcpu: Introduce virHostCPUGetSignature 2020-05-25 16:09:41 +02:00
virhostcpupriv.h hostcpu: Introduce virHostCPUGetSignature 2020-05-25 16:09:41 +02:00
virhostmem.c
virhostmem.h
virhostuptime.c
virhostuptime.h
viridentity.c
viridentity.h
virinitctl.c
virinitctl.h
viriptables.c util: add support for IPv6 masquerade rules 2020-06-15 17:10:15 +01:00
viriptables.h
viriscsi.c
viriscsi.h
virjson.c util: json: Introduce virJSONValueObjectAppendStringPrintf 2020-05-20 09:41:57 +02:00
virjson.h util: json: Introduce virJSONValueObjectAppendStringPrintf 2020-05-20 09:41:57 +02:00
virkeycode.c
virkeycode.h
virkmod.c
virkmod.h
virlease.c
virlease.h
virlockspace.c
virlockspace.h
virlog.c
virlog.h
virmacaddr.c
virmacaddr.h
virmacmap.c
virmacmap.h
virmdev.c Drop needless variable 2020-05-05 11:19:34 +02:00
virmdev.h
virmodule.c
virmodule.h
virnetdev.c Remove all usage of virRun 2020-04-23 12:49:30 +02:00
virnetdev.h
virnetdevbandwidth.c
virnetdevbandwidth.h
virnetdevbridge.c
virnetdevbridge.h
virnetdevip.c
virnetdevip.h
virnetdevmacvlan.c
virnetdevmacvlan.h
virnetdevmidonet.c
virnetdevmidonet.h
virnetdevopenvswitch.c virNetDevOpenvswitchGetVhostuserIfname: Drop cleanup label 2020-05-13 13:14:29 +02:00
virnetdevopenvswitch.h
virnetdevtap.c
virnetdevtap.h
virnetdevveth.c
virnetdevveth.h
virnetdevvlan.c
virnetdevvlan.h
virnetdevvportprofile.c
virnetdevvportprofile.h
virnetlink.c src: Fix boolean assignment 2020-05-05 13:08:57 +02:00
virnetlink.h
virnodesuspend.c
virnodesuspend.h
virnuma.c
virnuma.h
virnvme.c
virnvme.h
virobject.c src: make virObject inherit from GObject 2020-06-03 10:20:17 +01:00
virobject.h src: make virObject inherit from GObject 2020-06-03 10:20:17 +01:00
virpci.c
virpci.h
virperf.c
virperf.h
virpidfile.c
virpidfile.h
virpolkit.c
virpolkit.h
virportallocator.c
virportallocator.h
virprobe.h
virprocess.c util: remove references to virRun/virExec 2020-04-23 12:49:30 +02:00
virprocess.h
virqemu.c qemu: Prepare for testing of 'netdev_add' props via qemuxml2argvtest 2020-05-20 09:41:58 +02:00
virqemu.h qemu: Prepare for testing of 'netdev_add' props via qemuxml2argvtest 2020-05-20 09:41:58 +02:00
virrandom.c
virrandom.h
virresctrl.c Drop needless variable 2020-05-05 11:19:34 +02:00
virresctrl.h
virresctrlpriv.h
virrotatingfile.c
virrotatingfile.h
virscsi.c
virscsi.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virscsihost.c
virscsihost.h
virscsivhost.c
virscsivhost.h
virseclabel.c virSecurityDeviceLabelDefNew: Avoid NULL dereference 2020-03-30 16:14:23 +02:00
virseclabel.h
virsecret.c
virsecret.h
virsocket.c
virsocket.h
virsocketaddr.c Drop needless variable 2020-05-05 11:19:34 +02:00
virsocketaddr.h
virstorageencryption.c Remove use of variables passed only to 'VIR_FREE' 2020-06-15 10:27:37 +02:00
virstorageencryption.h
virstoragefile.c Use more of VIR_XPATH_NODE_AUTORESTORE 2020-06-03 21:06:02 +02:00
virstoragefile.h conf: Sanitize handling of <auth> and <encryption> placement for disks 2020-05-12 06:55:00 +02:00
virstoragefilebackend.c
virstoragefilebackend.h
virstring.c
virstring.h
virsysinfo.c Remove use of variables passed only to 'VIR_FREE' 2020-06-15 10:27:37 +02:00
virsysinfo.h conf: Add firmware blob configuration 2020-06-10 14:00:38 +02:00
virsysinfopriv.h virsysinfo: Drop global @sysinfoDmidecode 2020-06-10 14:00:38 +02:00
virsystemd.c
virsystemd.h
virsystemdpriv.h
virthread.c
virthread.h
virthreadjob.c
virthreadjob.h
virthreadpool.c
virthreadpool.h
virtime.c src: Fix boolean assignment 2020-05-05 13:08:57 +02:00
virtime.h
virtpm.c virTPMEmulatorInit: Don't use temporary variable to free path 2020-06-15 10:27:37 +02:00
virtpm.h
virtypedparam-public.c
virtypedparam.c
virtypedparam.h
viruri.c src: Fix boolean assignment 2020-05-05 13:08:57 +02:00
viruri.h
virusb.c
virusb.h
virutil.c util: Introduce a parser for kernel cmdline arguments 2020-06-16 09:43:34 +02:00
virutil.h util: Introduce a parser for kernel cmdline arguments 2020-06-16 09:43:34 +02:00
viruuid.c
viruuid.h
virvhba.c
virvhba.h
virvsock.c
virvsock.h
virxdrdefs.h
virxml.c virxml: Don't overwrite ctxt->node 2020-06-03 21:06:02 +02:00
virxml.h conf: convert network_conf.c to use g_auto* pointers 2020-06-15 16:02:16 -04:00