Mao Zhongyi 1343a107e4 net/rocker: Plug memory leak in pci_rocker_init()
pci_rocker_init() leaks a World when the name more than 9 chars,
then return a negative value directly, doesn't make a correct
cleanup. So add a new goto label to fix it.

Cc: jasowang@redhat.com
Cc: jiri@resnulli.us
Cc: armbru@redhat.com
Cc: f4bug@amsat.org
Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2017-09-08 08:17:37 +08:00
..
2016-10-04 13:28:07 +01:00
2017-08-31 12:29:07 +02:00
2017-08-02 18:30:13 -03:00
2017-08-31 12:29:07 +02:00
2017-06-02 14:07:53 +01:00
2017-08-10 14:33:43 +01:00
2016-05-18 15:04:27 +03:00
2017-08-31 15:52:43 +01:00
2016-01-29 15:07:25 +00:00
2017-08-30 18:23:26 +02:00
2017-09-04 18:41:01 +01:00
2017-08-31 12:29:07 +02:00
2016-10-28 18:17:24 +03:00
2017-08-31 12:29:07 +02:00
2017-08-31 12:29:07 +02:00
2017-08-30 18:23:25 +02:00