cli: clear current thread's error, if any, before exiting
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 4 Jul 2019 05:58:46 +0000 (01:58 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Jul 2019 15:53:34 +0000 (11:53 -0400)
commit2efe47e45196b4ff044ab921aae0fd40f15d2026
treed2fbca03135a6109c425420886182a60efd5db29
parent0fb60f5ddfbd5c81f44e8a7d2a5165f729021fa1
cli: clear current thread's error, if any, before exiting

Because the CLI is not consuming the current thread's error yet, clear
it every time to avoid a memory leak.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ifb36292a20a5592e660ce16201ee13e017d01780
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1614
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/cli/babeltrace2.c
This page took 0.026438 seconds and 4 git commands to generate.