Merge "Fix a null dereference."
This commit is contained in:
commit
6ee97e74d2
@ -95,7 +95,7 @@ status_t BnSurfaceComposerClient::onTransact(
|
|||||||
status_t result = createSurface(name, w, h, format, flags,
|
status_t result = createSurface(name, w, h, format, flags,
|
||||||
&handle, &gbp);
|
&handle, &gbp);
|
||||||
reply->writeStrongBinder(handle);
|
reply->writeStrongBinder(handle);
|
||||||
reply->writeStrongBinder(gbp->asBinder());
|
reply->writeStrongBinder(gbp != NULL ? gbp->asBinder() : NULL);
|
||||||
reply->writeInt32(result);
|
reply->writeInt32(result);
|
||||||
return NO_ERROR;
|
return NO_ERROR;
|
||||||
} break;
|
} break;
|
||||||
|
Loading…
Reference in New Issue
Block a user