Merge "minui: fix mem leakage issue" am: d694016206 am: ebfe03631c am: 28aa649e54

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1535652

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib3c93c18ae14762c7d8b5d644161a65b8e0513a7
diff --git a/minui/resources.cpp b/minui/resources.cpp
index f635acd..d7b9277 100644
--- a/minui/resources.cpp
+++ b/minui/resources.cpp
@@ -450,5 +450,5 @@
 }
 
 void res_free_surface(GRSurface* surface) {
-  free(surface);
+  delete(surface);
 }