numam-dpdk/lib/librte_cmdline
Marcin Kerlin 661d97ba0b cmdline: check initialization error
The value returned by rdline_init() was not checked in cmdline_new().
On error, free the allocated memory and return NULL.

This condition should not happen today, but it's safer to do the check
in case rdline_init() is updated.

Coverity issue: 13204
Fixes: af75078fece3 ("first public release")

Signed-off-by: Marcin Kerlin <marcinx.kerlin@intel.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2016-05-19 14:40:12 +02:00
..
2015-06-12 11:10:10 +02:00
2014-06-11 00:29:34 +02:00
2015-06-12 11:10:10 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2015-05-18 13:10:48 +02:00
2016-05-19 14:40:12 +02:00
2015-05-18 13:13:24 +02:00
2016-03-09 16:13:14 +01:00