examples/distributor: check mempool error
authorMarcin Kerlin <marcinx.kerlin@intel.com>
Tue, 19 Apr 2016 12:31:48 +0000 (14:31 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 16 May 2016 19:01:51 +0000 (21:01 +0200)
commitd532ddccce0a8ccc350d6b5f9c89faf96fc9f923
tree98f9527a62c2df4c6beea0664ad8b012faad5982
parent30e1c9fab9fb00537816f5ee94f3f109ad33eedb
examples/distributor: check mempool error

Value returned from a function is not checked for errors before being used.

Coverity issue: 13207
Fixes: 07db4a975094 ("examples/distributor: new sample app")

Signed-off-by: Marcin Kerlin <marcinx.kerlin@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
examples/distributor/main.c