summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlijiazi <lijiazi@xiaomi.com>2020-12-23 12:21:06 +0100
committerlijiazi <lijiazi@xiaomi.com>2020-12-23 12:21:06 +0100
commit7d306fbf4eb5d0346b29ac38ea2767965068f06f (patch)
tree4b3203e8c351b9125f7d7eb60d214a564ffb1f6c
parentMerge "Do not call exit() immediately after serving sideload" (diff)
downloadandroid_bootable_recovery-7d306fbf4eb5d0346b29ac38ea2767965068f06f.tar
android_bootable_recovery-7d306fbf4eb5d0346b29ac38ea2767965068f06f.tar.gz
android_bootable_recovery-7d306fbf4eb5d0346b29ac38ea2767965068f06f.tar.bz2
android_bootable_recovery-7d306fbf4eb5d0346b29ac38ea2767965068f06f.tar.lz
android_bootable_recovery-7d306fbf4eb5d0346b29ac38ea2767965068f06f.tar.xz
android_bootable_recovery-7d306fbf4eb5d0346b29ac38ea2767965068f06f.tar.zst
android_bootable_recovery-7d306fbf4eb5d0346b29ac38ea2767965068f06f.zip
-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);
}