examples/kni: print release error
authorDaniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Mon, 9 May 2016 09:38:30 +0000 (11:38 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 16 May 2016 12:48:09 +0000 (14:48 +0200)
commit3c4a6d00b152cf3b9b5663f6ffe13cac6b5357cf
tree5aa3ebef733938f0cce0958331e95ae2b88a00d3
parent42b3f505581ce30ef1f83b96409755f70068d2eb
examples/kni: print release error

In kni_free_kni: Value returned from a function is not checked for errors
before being used

Coverity issue: 30692
Fixes: b475eb0bc400 ("examples/kni: new parameters")

Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
examples/kni/main.c