diff options
Diffstat (limited to 'libs/gui/IGraphicBufferProducer.cpp')
| -rw-r--r-- | libs/gui/IGraphicBufferProducer.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/libs/gui/IGraphicBufferProducer.cpp b/libs/gui/IGraphicBufferProducer.cpp index b73e69e2ba..e713c04493 100644 --- a/libs/gui/IGraphicBufferProducer.cpp +++ b/libs/gui/IGraphicBufferProducer.cpp @@ -219,6 +219,7 @@ status_t BnGraphicBufferProducer::onTransact(              QueueBufferOutput* const output =                      reinterpret_cast<QueueBufferOutput *>(                              reply->writeInplace(sizeof(QueueBufferOutput))); +            memset(output, 0, sizeof(QueueBufferOutput));              status_t result = queueBuffer(buf, input, output);              reply->writeInt32(result);              return NO_ERROR; |