system-linux: fix resource leak
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 5 Aug 2019 20:05:36 +0000 (22:05 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 5 Aug 2019 20:07:43 +0000 (22:07 +0200)
commit5e02f94411b06f192fb2a7d9be9abde3549153a8
tree2718cd4082aab891924b5ba2b185cfb2adb278de
parent899f168b9d9555865b35cdf2f69b0d3af8839496
system-linux: fix resource leak

Fix cb leak in case invalid type is specified in system_if_clear_entries
Detected by Coverity in CID1431183

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
system-linux.c