1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/libdaemon/client
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
..
config-util.c libdaemon: header cleanup 2014-04-18 16:38:49 +02:00
config-util.h libdaemon: header cleanup 2014-04-18 16:38:49 +02:00
daemon-client.c libdaemon: Fix some client leaks. 2014-11-28 21:31:51 +00:00
daemon-client.h libdaemon: Fix some client leaks. 2014-11-28 21:31:51 +00:00
daemon-io.c libdaemon: header cleanup 2014-04-18 16:38:49 +02:00
daemon-io.h libdaemon: header cleanup 2014-04-18 16:38:49 +02:00
Makefile.in libdaemon: Split daemon-shared.[hc] into daemon-io.[hc] and config-util.[hc]. 2012-09-26 17:26:23 +02:00