Fix: lib: field-class.c: memory leak on error
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 9 Oct 2019 14:05:18 +0000 (10:05 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 17 Oct 2019 16:13:26 +0000 (12:13 -0400)
commit98b5e1698a1a66c3be41755936474f2d4d762072
tree9bda78d9ee645aede0e7effaaff5290309f87bd3
parented47d321ee0ab3e7ceb0271ead1e3d941f96e02b
Fix: lib: field-class.c: memory leak on error

scan-build report:
  Potential leak of memory pointed to by 'var_with_sel_fc'
  File: src/lib/trace-ir/field-class.c Line: 1524

Reported-by: scan-build
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: I6f52562c8549810ffb82c6ae4b34707ad6a32576
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2158
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/lib/trace-ir/field-class.c
This page took 0.024958 seconds and 4 git commands to generate.