dmabuf: pop buffer on failure (#9620)

ensure it doesnt permanently gets stuck in the container on failure, pop
it from the container.
This commit is contained in:
Tom Englund 2025-03-19 17:49:20 +01:00 committed by GitHub
parent c8d80a2920
commit a25a214523
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -221,6 +221,7 @@ void CLinuxDMABUFParamsResource::create(uint32_t id) {
if UNLIKELY (!buf->good() || !buf->buffer->success) {
resource->sendFailed();
PROTO::linuxDma->m_vBuffers.pop_back();
return;
}