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

Commit af608319 authored by John Reck's avatar John Reck
Browse files

Fix memory corruption in test

Bug: 18012918
Change-Id: I8d69624e9be9f0399ddba10ce3903f93177d5930
parent ea6f0ae8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -76,6 +76,7 @@ int main(int argc, char* argv[]) {
    sp<Surface> surface = control->getSurface();

    RenderNode* rootNode = new RenderNode();
    rootNode->incStrong(0);
    rootNode->mutateStagingProperties().setLeftTopRightBottom(0, 0, width, height);
    rootNode->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
    rootNode->mutateStagingProperties().setClipToBounds(false);