Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 248c5abc authored by Tim Murray's avatar Tim Murray Committed by Android (Google) Code Review
Browse files

Merge "hwui: purge malloc pages on bitmap destruction" into pi-dev-plus-aosp

parents 59be0898 64fee614
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -223,6 +223,7 @@ Bitmap::~Bitmap() {
            break;
        case PixelStorageType::Heap:
            free(mPixelStorage.heap.address);
            mallopt(M_PURGE, 0);
            break;
        case PixelStorageType::Hardware:
            auto buffer = mPixelStorage.hardware.buffer;