am 62e5463e
: am 83e60e42
: am 571e27e2
: am e889592e
: am 73887c08
: am b414255f
: Initialize local variables to avoid data leak
* commit '62e5463e248d581ee4faa58c631541b994500793': Initialize local variables to avoid data leak
This commit is contained in:
commit
b062a7a10d
@ -389,7 +389,7 @@ status_t BnGraphicBufferProducer::onTransact(
|
||||
CHECK_INTERFACE(IGraphicBufferProducer, data, reply);
|
||||
sp<GraphicBuffer> buffer = new GraphicBuffer();
|
||||
data.read(*buffer.get());
|
||||
int slot;
|
||||
int slot = 0;
|
||||
int result = attachBuffer(&slot, buffer);
|
||||
reply->writeInt32(slot);
|
||||
reply->writeInt32(result);
|
||||
|
Loading…
Reference in New Issue
Block a user