commit | 9c7ebb613bffea2feef4ec562ba1dbcaa810942b | [log] [tgz] |
---|---|---|
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | Fri Jan 22 14:55:56 2016 +0100 |
committer | Christian Borntraeger <borntraeger@de.ibm.com> | Tue Jan 26 15:40:09 2016 +0100 |
tree | 15f543d04838f42999976d1de8337010434abf66 | |
parent | 7d1fc01afc5af35e5197e0e75abe900f6bd279b8 [diff] |
KVM: s390: fix guest fprs memory leak fprs is never freed, therefore resulting in a memory leak if kvm_vcpu_init() fails or the vcpu is destroyed. Fixes: 9977e886cbbc ("s390/kernel: lazy restore fpu registers") Cc: stable@vger.kernel.org # v4.3+ Reported-by: Eric Farman <farman@linux.vnet.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Reviewed-by: Eric Farman <farman@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>