ndp: improve error checking
authorHans Dedecker <dedeckeh@gmail.com>
Wed, 16 May 2018 19:57:31 +0000 (21:57 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 16 May 2018 20:03:20 +0000 (22:03 +0200)
commit79d5e6f500af6854ab67d4c146cc09eee63493e4
treec3fbe51249980f1533b2953ab05ed63e852cab7f
parentd834ae3ca59cf75cd7f26a5201a7223eaa468fbb
ndp: improve error checking

Improve error checking; fixes resource leak detected by Coverity
in CID 1430925

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/ndp.c