interface: fix memory leak on error in __interface_add()
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 26 Nov 2018 08:24:02 +0000 (09:24 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 26 Nov 2018 08:26:42 +0000 (09:26 +0100)
commit85de9def885fee6335a526bc2b3b733e1f6b7014
treeaf36cf10b7d76610013dbecea8236c0db2c27f29
parent4b83102da60bf26b455ac8425a1f5e338ea01f8a
interface: fix memory leak on error in __interface_add()

Detected by Coverity in cid 1441495

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