d3dxof: Fix object leak in error path by calling Release method which does all the...