From: David Goulet Date: Thu, 6 Feb 2014 21:49:37 +0000 (-0500) Subject: Fix: fd leak when closing metadata stream X-Git-Tag: v2.5.0-rc1~196 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;ds=sidebyside;h=6d574024f868e661ae688ecbc47a110a1311c57e;hp=6d574024f868e661ae688ecbc47a110a1311c57e;p=lttng-tools.git 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 ---