KVM: s390: Fix memory leak on busy SIGP stop
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 28 Jul 2014 09:52:02 +0000 (11:52 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 30 Jul 2014 13:29:40 +0000 (15:29 +0200)
commitd514f42641e1976e9eae6ea500c13274e62cdba3
treefc8543045da6609c3ee607fbf9abe49acc84ac37
parentb55a8144d1807f9e74c51cb584f0dd198483d86c
KVM: s390: Fix memory leak on busy SIGP stop

commit 7dfc63cf977447e09b1072911c22564f900fc578
(KVM: s390: allow only one SIGP STOP (AND STORE STATUS) at a time)
introduced a memory leak if a sigp stop is already pending. Free
the allocated inti structure.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
arch/s390/kvm/sigp.c