mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-24 22:55:41 +00:00
Coverity: Delete leaking cbuffer staging data
This commit is contained in:
@@ -3469,6 +3469,8 @@ bool D3D11DebugManager::RenderTexture(TextureDisplay cfg, bool blendAlpha)
|
||||
}
|
||||
|
||||
customBuff = MakeCBuffer(cbufData, cbuf.descriptor.byteSize);
|
||||
|
||||
SAFE_DELETE_ARRAY(cbufData);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user