diff --git a/RenderSystems/Direct3D11/src/OgreD3D11RenderSystem.cpp b/RenderSystems/Direct3D11/src/OgreD3D11RenderSystem.cpp index 94111900c82..908c50dd00b 100644 --- a/RenderSystems/Direct3D11/src/OgreD3D11RenderSystem.cpp +++ b/RenderSystems/Direct3D11/src/OgreD3D11RenderSystem.cpp @@ -909,6 +909,7 @@ namespace Ogre SAFE_DELETE( mDriverList ); mActiveD3DDriver = D3D11Driver(); mDevice.ReleaseAll(); + SAFE_DELETE( mVendorExtension ); LogManager::getSingleton().logMessage( "D3D11: Shutting down cleanly." ); SAFE_DELETE( mHardwareBufferManager ); SAFE_DELETE( mGpuProgramManager );