Fix: fd leak when closing metadata stream
authorDavid Goulet <dgoulet@efficios.com>
Thu, 6 Feb 2014 21:49:37 +0000 (16:49 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 11 Feb 2014 19:58:46 +0000 (14:58 -0500)
commit59a6e1d8908c60bb8f8b9e999695f7755b2c59e7
tree0e13603bfef681b69e3860d1c2b3e48bddedfa75
parente90d31bea0595045720f4eca0758d48531a5e17c
Fix: fd leak when closing metadata stream

Make sure to close the metadata poll pipe when the endpoint of the
stream dies out (ex: relayd stops unexpectedly). That was causing a fd
leak when we were destroying a metadata stream without using the close
metadata code path.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/consumer-stream.c
src/common/consumer.c
src/common/consumer.h
src/common/ust-consumer/ust-consumer.c
src/common/ust-consumer/ust-consumer.h
This page took 0.025565 seconds and 4 git commands to generate.