summaryrefslogtreecommitdiffstats
path: root/minui
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-12-28 10:12:12 +0100
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-12-28 10:12:12 +0100
commita1ef4ffb005a83099e821078a0e698cfd2f1b6aa (patch)
tree6f5d0f8c05b4fe0aaaf3085b75d50c9e0d0b457e /minui
parentImport translations. DO NOT MERGE ANYWHERE (diff)
parentMerge "minui: fix mem leakage issue" am: d694016206 am: ebfe03631c (diff)
downloadandroid_bootable_recovery-a1ef4ffb005a83099e821078a0e698cfd2f1b6aa.tar
android_bootable_recovery-a1ef4ffb005a83099e821078a0e698cfd2f1b6aa.tar.gz
android_bootable_recovery-a1ef4ffb005a83099e821078a0e698cfd2f1b6aa.tar.bz2
android_bootable_recovery-a1ef4ffb005a83099e821078a0e698cfd2f1b6aa.tar.lz
android_bootable_recovery-a1ef4ffb005a83099e821078a0e698cfd2f1b6aa.tar.xz
android_bootable_recovery-a1ef4ffb005a83099e821078a0e698cfd2f1b6aa.tar.zst
android_bootable_recovery-a1ef4ffb005a83099e821078a0e698cfd2f1b6aa.zip
Diffstat (limited to 'minui')
-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);
}