Coverity: Delete leaking cbuffer staging data

This commit is contained in:
baldurk
2016-06-09 13:56:56 -07:00
parent b587d019d8
commit 1353dd3f30
+2
View File
@@ -3469,6 +3469,8 @@ bool D3D11DebugManager::RenderTexture(TextureDisplay cfg, bool blendAlpha)
}
customBuff = MakeCBuffer(cbufData, cbuf.descriptor.byteSize);
SAFE_DELETE_ARRAY(cbufData);
}
}
}