A reminder that in older versions of the Debug layer in Direct2D, there is an issue that causes a memory leak in DirectX Graphics Infrastructure (DXGI) surfaces if you have the Direct2D debug layer enabled. If you see memory leaks in your application while debugging, make sure you’re using the latest version. This bug only affects that one specific type of render target, DXGI surface, so if you didn’t see this memory leak, you’re probably just not using the affected render target or are on a version that has already been fixed.
Grab an update that addresses the Direct2D bug here if you are seeing strange leaks while debugging in D2D.
Update: Thanks JK for reporting this bug back in October! Hopefully we addressed it faster than I found out about it.