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

Commit 08d160a3 authored by Ben Cheng's avatar Ben Cheng Committed by Android Git Automerger
Browse files

am 7a60c43d: Merge "Use free for memory chunks allocated through memalign."

* commit '7a60c43d':
  Use free for memory chunks allocated through memalign.
parents 3c394a3b 7a60c43d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -798,7 +798,7 @@ void FontRenderer::blurImage(uint8_t** image, int32_t width, int32_t height, int
    mRsScript->blur(ain, aout);

    // replace the original image's pointer, avoiding a copy back to the original buffer
    delete *image;
    free(*image);
    *image = outImage;
}

+1 −1
Original line number Diff line number Diff line
@@ -222,7 +222,7 @@ ShadowTexture* TextDropShadowCache::get(SkPaint* paint, const char* text, uint32
        }

        // Cleanup shadow
        delete shadow.image;
        free(shadow.image);
    }

    return texture;