From: Jonathan Rajotte Date: Thu, 3 Sep 2015 21:52:06 +0000 (-0400) Subject: Fix: lttng-crash: fd leak X-Git-Tag: v2.8.0-rc1~402 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=8726a0458b9798953279448c13d8bd60d9907be3;hp=8726a0458b9798953279448c13d8bd60d9907be3;p=lttng-tools.git Fix: lttng-crash: fd leak At the same time, make sure to have a single exit-point in copy_file(). Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau ---