summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-12-28 09:21:25 +0100
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-12-28 09:21:25 +0100
commit28aa649e54c201b3ca705a6de94eafa4c1f275ac (patch)
treefaff249e90dc4bdf87c23a533c202c920241ab62
parentMerge "Do not call exit() immediately after serving sideload" am: a8e394942e am: d7c894e0bc (diff)
parentMerge "minui: fix mem leakage issue" am: d694016206 (diff)
downloadandroid_bootable_recovery-28aa649e54c201b3ca705a6de94eafa4c1f275ac.tar
android_bootable_recovery-28aa649e54c201b3ca705a6de94eafa4c1f275ac.tar.gz
android_bootable_recovery-28aa649e54c201b3ca705a6de94eafa4c1f275ac.tar.bz2
android_bootable_recovery-28aa649e54c201b3ca705a6de94eafa4c1f275ac.tar.lz
android_bootable_recovery-28aa649e54c201b3ca705a6de94eafa4c1f275ac.tar.xz
android_bootable_recovery-28aa649e54c201b3ca705a6de94eafa4c1f275ac.tar.zst
android_bootable_recovery-28aa649e54c201b3ca705a6de94eafa4c1f275ac.zip
Diffstat (limited to '')
-rw-r--r--minui/resources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/resources.cpp b/minui/resources.cpp
index f635acd1a..d7b927700 100644
--- a/minui/resources.cpp
+++ b/minui/resources.cpp
@@ -450,5 +450,5 @@ int res_create_localized_alpha_surface(const char* name,
}
void res_free_surface(GRSurface* surface) {
- free(surface);
+ delete(surface);
}