Commit f9c64883 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

wined3d: Add a missing call to context_release.

Spotted by Michael Müller. Signed-off-by: 's avatarSebastian Lackner <sebastian@fds-team.de> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent c43dd195
......@@ -4138,6 +4138,7 @@ void CDECL wined3d_device_update_sub_resource(struct wined3d_device *device, str
if (!wined3d_buffer_load_location(buffer, context, WINED3D_LOCATION_BUFFER))
{
ERR("Failed to load buffer location.\n");
context_release(context);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment