mirror of
https://github.com/openharmony/graphic_surface_lite.git
synced 2026-07-01 01:37:56 -04:00
@@ -55,7 +55,7 @@ SurfaceBufferImpl* BufferClientProducer::RequestBuffer(uint8_t wait)
|
||||
|
||||
SurfaceBufferImpl* buffer = new SurfaceBufferImpl();
|
||||
if (buffer == nullptr) {
|
||||
GRAPHIC_LOGW("SurfaceBufferImpl buffer is null, usage(%d)", buffer->GetUsage());
|
||||
GRAPHIC_LOGW("SurfaceBufferImpl buffer is null");
|
||||
FreeBuffer(reinterpret_cast<void *>(ptr));
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user