[PATCH 0/4] Fix a few resource leak buglets

Colin King colin.king at canonical.com
Tue May 31 10:42:34 UTC 2016


From: Colin Ian King <colin.king at canonical.com>

The following 4 patches fix some resource leaks detected with
static analysis.

Colin Ian King (4):
  lib: fwts_ipmi: don't close a -ve fd on error exit return path
  lib: fwts_ipmi: remove redundant for loop
  lib: fwts_devicetree: fix memory leak on data
  devicetree: dt_base: fix resource leak on error exit paths

 src/devicetree/dt_base/dt_base.c | 15 ++++++++++-----
 src/lib/src/fwts_devicetree.c    |  3 ++-
 src/lib/src/fwts_ipmi.c          | 24 ++++++++++--------------
 3 files changed, 22 insertions(+), 20 deletions(-)

-- 
2.8.1




More information about the fwts-devel mailing list