x86/cpuid: Plug memory leak in cpudef_setfield()
authorMarkus Armbruster <armbru@redhat.com>
Tue, 8 Nov 2011 14:36:49 +0000 (15:36 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 10 Nov 2011 12:29:50 +0000 (12:29 +0000)
commit99e1dec06f343cefecae9baeec0aae2f99f552d5
tree1f6a53be3b7b9dc1d00e9ecc7aaa833dd5ef836b
parentd3c481b357ee6f78d3df10ee30407fa05d85b76c
x86/cpuid: Plug memory leak in cpudef_setfield()

To reproduce the leak, put two name options into the same [cpudef]
section of target-x86_64.conf.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
target-i386/cpuid.c