Xavier Hernandez 8ad87e4fa5 cli: Fixed coverity issue in cli-cmd-system.c
This patch adds a missing check of the return value of strtok_r()
and returns an error if it's NULL.

It also fixes a couple of leaks.

Change-Id: Ib15d6f843516e44c3bd8790a2e3ad936e357f6d4
BUG: 789278
Signed-off-by: Xavier Hernandez <jahernan@redhat.com>
2017-12-20 15:44:22 +00:00
..