libvirt/src/locking
Peter Krempa 6431b20c3e virJSONValueArrayAppend: Clear pointer when taking ownership of passed value
The parent array takes ownership of the inserted value once all checks
pass. Don't make the callers second-guess when that happens and modify
the function to take a double pointer so that it can be cleared once the
ownership is taken.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2021-02-20 13:26:37 +01:00
..
domain_lock.c
domain_lock.h
libvirt_lockd.aug
libvirt_sanlock.aug
lock_daemon_config.c locking: replace VIR_FREE with g_free in all vir*Free() functions 2021-02-05 00:20:44 -05:00
lock_daemon_config.h
lock_daemon_dispatch.c
lock_daemon_dispatch.h
lock_daemon.c virJSONValueArrayAppend: Clear pointer when taking ownership of passed value 2021-02-20 13:26:37 +01:00
lock_daemon.h
lock_driver_lockd.c locking: replace VIR_FREE with g_free in all vir*Free() functions 2021-02-05 00:20:44 -05:00
lock_driver_lockd.h
lock_driver_nop.c
lock_driver_nop.h
lock_driver_sanlock.c locking: replace VIR_FREE with g_free in all vir*Free() functions 2021-02-05 00:20:44 -05:00
lock_driver.h
lock_manager.c locking: convert VIR_FREE to g_free in other functions that free their arg 2021-02-12 12:10:38 -05:00
lock_manager.h
lock_protocol.x
lockd.conf
meson.build
sanlock_helper.c
sanlock.conf
test_libvirt_lockd.aug.in
test_libvirt_sanlock.aug.in
test_virtlockd.aug.in
virtlockd-admin.socket.in systemd: honour $runstatedir in socket unit files 2019-08-27 10:23:05 +01:00
virtlockd.aug src: fix word spell typos 2020-07-09 10:01:41 +02:00
virtlockd.conf
virtlockd.init.in
virtlockd.service.in
virtlockd.socket.in
virtlockd.sysconf