Pablo de Lara 5a4e71f1f4 cryptodev: fix memory leak in parameter parsing
When parsing the parameters for virtual device initialization,
rte_kvargs structure was being freed only if there was an error,
not when parsing was successful.

Coverity issue: 124568
Fixes: f3e764fa2fb7 ("cryptodev: uninline parameter parsing")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
2016-07-22 11:53:32 +02:00
..
2016-06-07 10:02:39 +02:00
2016-07-21 23:05:01 +02:00
2016-06-29 13:33:01 +02:00
2016-07-16 11:13:22 +02:00
2016-06-14 17:24:15 +02:00
2015-08-03 12:43:01 +02:00