cmdline: fix small memory leak
authorErik Ziegenbalg <eziegenb@brocade.com>
Wed, 20 May 2015 00:04:55 +0000 (17:04 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 29 May 2015 18:27:23 +0000 (20:27 +0200)
commit5f3aa4a702d2cf4c05f52f3eb5fba7437e76bde7
treef138509b53b4ee1c4ee75c632fe534e0cd08ca6e
parent8c9a33744bf790f106084fc4fdbc7ff27bebe677
cmdline: fix small memory leak

A function in cmdline.c has a return that does not free buf properly.

Signed-off-by: Erik Ziegenbalg <eziegenb@brocade.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: John McNamara <john.mcnamara@intel.com>
lib/librte_cmdline/cmdline.c