Commit 166e75e8 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Free the "texture_type" array in wined3d_context_cleanup().

parent 08b8801c
......@@ -1478,6 +1478,8 @@ static void wined3d_context_cleanup(struct wined3d_context *context)
DWORD err = GetLastError();
ERR("wglDeleteContext(%p) failed, last error %#x.\n", context->glCtx, err);
}
heap_free(context->texture_type);
}
DWORD context_get_tls_idx(void)
......@@ -2321,7 +2323,6 @@ void wined3d_context_destroy(struct wined3d_context *context)
device->shader_backend->shader_free_context_data(context);
device->adapter->fragment_pipe->free_context_data(context);
heap_free(context->texture_type);
device_context_remove(device, context);
if (context->current && context->tid != GetCurrentThreadId())
......
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