1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/daemons/lvmetad
Alasdair G Kergon 6521c4b215 libdaemon: Fix some client leaks.
Free (and clear) h.protocol string on daemon_open() error paths
so it's OK for caller to skip calling daemon_close() if returned
h.socket_fd is -1.

Close h.socket_fd in daemon_close() to avoid possible leak.

https://bugzilla.redhat.com/1164234
2014-11-28 21:31:51 +00:00
..
lvmetad-client.h lv/vgchange: do not try to connect to lvmetad if socket absent and --sysinit -aay used 2013-11-26 14:51:23 +01:00
lvmetad-core.c cleanup: gcc warnings 2014-11-10 22:05:49 +01:00
Makefile.in compile/link: use RELRO/PIE compiler/linker options for executables 2013-12-05 14:03:10 +01:00
test.sh Work out some more details in metadata update in lvmetad. 2011-07-19 16:48:13 +00:00
testclient.c libdaemon: Fix some client leaks. 2014-11-28 21:31:51 +00:00