From: Jacek Caban Subject: wined3d: Removed no longer needed wine_rb_destroy calls. Message-Id: <432fad45-433a-f239-35dd-8673a42d977d@codeweavers.com> Date: Fri, 2 Sep 2016 22:08:47 +0200 Signed-off-by: Jacek Caban --- dlls/wined3d/device.c | 2 -- dlls/wined3d/glsl_shader.c | 1 - 2 files changed, 3 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 8f24506..93efdd8 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -5089,7 +5089,6 @@ HRESULT device_init(struct wined3d_device *device, struct wined3d *wined3d, fragment_pipeline, misc_state_template))) { ERR("Failed to compile state table, hr %#x.\n", hr); - wine_rb_destroy(&device->samplers, NULL, NULL); wined3d_decref(device->wined3d); return hr; } @@ -5115,7 +5114,6 @@ err: { HeapFree(GetProcessHeap(), 0, device->multistate_funcs[i]); } - wine_rb_destroy(&device->samplers, NULL, NULL); wined3d_decref(device->wined3d); return hr; } diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c index 863f17f..616800c 100644 --- a/dlls/wined3d/glsl_shader.c +++ b/dlls/wined3d/glsl_shader.c @@ -8520,7 +8520,6 @@ static void shader_glsl_free(struct wined3d_device *device) } } - wine_rb_destroy(&priv->program_lookup, NULL, NULL); constant_heap_free(&priv->pconst_heap); constant_heap_free(&priv->vconst_heap); HeapFree(GetProcessHeap(), 0, priv->stack);