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

Commit 278836e2 authored by Chet Haase's avatar Chet Haase Committed by Android (Google) Code Review
Browse files

Merge "Fix garbage deref with DisplayList property structures"

parents a2d68c93 491189f6
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -91,7 +91,9 @@ void DisplayList::outputLogBuffer(int fd) {
    fflush(file);
}

DisplayList::DisplayList(const DisplayListRenderer& recorder) {
DisplayList::DisplayList(const DisplayListRenderer& recorder) :
    mTransformMatrix(NULL), mTransformCamera(NULL), mTransformMatrix3D(NULL) {

    initFromDisplayListRenderer(recorder);
}

@@ -124,9 +126,6 @@ void DisplayList::initProperties() {
    mWidth = 0;
    mHeight = 0;
    mPivotExplicitlySet = false;
    mTransformMatrix = NULL;
    mTransformCamera = NULL;
    mTransformMatrix3D = NULL;
    mCaching = false;
}