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:
parent
c8d80a2920
commit
a25a214523
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue