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

Commit c78a0c17 authored by Dan Albert's avatar Dan Albert
Browse files

Fix a null dereference.

Change-Id: I7224c3368ff414620062bc08b80a6a94d55d7931
parent e1e3d278
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ status_t BnSurfaceComposerClient::onTransact(
            status_t result = createSurface(name, w, h, format, flags,
                    &handle, &gbp);
            reply->writeStrongBinder(handle);
            reply->writeStrongBinder(gbp->asBinder());
            reply->writeStrongBinder(gbp != NULL ? gbp->asBinder() : NULL);
            reply->writeInt32(result);
            return NO_ERROR;
        } break;