Fix: lttng-crash: DIR leak in delete_trace() on error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 5 Sep 2015 17:53:31 +0000 (13:53 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 5 Sep 2015 17:53:31 +0000 (13:53 -0400)
commit920a187eae9f63e109072acde16d009b01dc95c3
tree1885951a45016aa460faad183ea817d54a98a192
parentb742e3e20470f98be1c1fda6d0c5b3346e19d6e8
Fix: lttng-crash: DIR leak in delete_trace() on error

Implement a single return point in delete_trace() which ensures
that trace_dir is not leaked on error.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-crash/lttng-crash.c
This page took 0.03334 seconds and 4 git commands to generate.