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>
Tue, 8 Sep 2015 13:33:00 +0000 (09:33 -0400)
commit4728260132472cdda0fac8c87c7546cbe821b18e
tree2232088de6815e312bdbe3116923d037c7440238
parent4c579b1f0f356e241627265c107757f2568c8daa
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.024962 seconds and 4 git commands to generate.