DX9RenderingEngine.cpp: Fix leaking memory due to an exception.