[PATCH] d3d11: Fix freed memory access when releasing device context (Coverity).