d3d10core: Add a missing return to d3d10_device_CreateGeometryShader().

This commit is contained in:
Henri Verbeet 2012-09-19 21:50:19 +02:00 committed by Alexandre Julliard
parent ca701b7d69
commit 2f350a5a2d
1 changed files with 1 additions and 0 deletions

View File

@ -947,6 +947,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_device_CreateGeometryShader(ID3D10Device
{
WARN("Failed to initialize geometry shader, hr %#x.\n", hr);
HeapFree(GetProcessHeap(), 0, object);
return hr;
}
TRACE("Created geometry shader %p.\n", object);