aboutsummaryrefslogtreecommitdiffstats
path: root/common/log.h
diff options
context:
space:
mode:
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>2021-04-12 16:43:57 +0900
committerDamian Hobson-Garcia <dhobsong@igel.co.jp>2021-04-12 18:25:24 +0900
commit43feb8701361e43ef43460ae16b3837e97b174ed (patch)
tree0e25c5067a4025f384fe517db5cf6565a5942ae9 /common/log.h
parentbd9df88e70982fb0de81664ebf928d1a414d2887 (diff)
Avoid calling close() on file descriptors that have not been intialized, (or initialized to 0) and descriptors that are known to be invalid. Closing file descriptors due to handle failing initialization is handled in the intialization code. In the lease-manager, file descriptors can be invalid during normal operation, so validity is tested at shutdown. Bug-AGL: SPEC-3862 Change-Id: I798273195cba297c14c6b97d50c7614164fda7df Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Diffstat (limited to 'common/log.h')
0 files changed, 0 insertions, 0 deletions