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

Commit 3e1a18ac authored by Mathias Agopian's avatar Mathias Agopian
Browse files

Fix a null dereference

Change-Id: I3df446b90c1607782778749de7ba0f8c00698c33
parent 367a39fb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -84,7 +84,9 @@ status_t HWComposer::prepare() const {

status_t HWComposer::commit() const {
    int err = mHwc->set(mHwc, mDpy, mSur, mList);
    if (mList) {
        mList->flags &= ~HWC_GEOMETRY_CHANGED;
    }
    return (status_t)err;
}