[kvm-unit-tests,PULL,17/17] s390x: Free allocated page in iep test
diff mbox series

Message ID 20190925163714.27519-18-thuth@redhat.com
State New
Headers show
Series
  • [kvm-unit-tests,PULL,01/17] s390x: Support PSW restart boot
Related show

Commit Message

Thomas Huth Sept. 25, 2019, 4:37 p.m. UTC
From: Janosch Frank <frankja@linux.ibm.com>

Let's also clean up

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Message-Id: <20190925135623.9740-3-frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 s390x/iep.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

diff --git a/s390x/iep.c b/s390x/iep.c
index 7da78a3..55c01ee 100644
--- a/s390x/iep.c
+++ b/s390x/iep.c
@@ -43,6 +43,7 @@  static void test_iep(void)
 	report_prefix_pop();
 	unprotect_page(iepbuf, PAGE_ENTRY_IEP);
 	ctl_clear_bit(0, 20);
+	free_page(iepbuf);
 }
 
 int main(void)