KVM: s390: kvm/sigp.c: fix memory leakage
authorCong Ding <dinggnu@gmail.com>
Tue, 15 Jan 2013 10:17:29 +0000 (11:17 +0100)
committerGleb Natapov <gleb@redhat.com>
Thu, 17 Jan 2013 06:41:48 +0000 (08:41 +0200)
commita046b816a4587c7898772af7cc7e6798cc8b56dd
tree366740af748d0f62a18aa3b3486cc49e7a499f97
parent6b81b05e449e15abb60eaa4f62cdc7954f4d74f0
KVM: s390: kvm/sigp.c: fix memory leakage

the variable inti should be freed in the branch CPUSTAT_STOPPED.

Signed-off-by: Cong Ding <dinggnu@gmail.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/s390/kvm/sigp.c