wined3d: Free the blitter private data in arbfp_blit_free() (Valgrind).

This commit is contained in:
Henri Verbeet 2009-10-22 10:09:55 +02:00 committed by Alexandre Julliard
parent 6be41fd59a
commit 8d2512317f
1 changed files with 3 additions and 0 deletions

View File

@ -6154,6 +6154,9 @@ static void arbfp_blit_free(IWineD3DDevice *iface) {
GL_EXTCALL(glDeleteProgramsARB(1, &priv->yv12_2d_shader));
checkGLcall("Delete yuv programs");
LEAVE_GL();
HeapFree(GetProcessHeap(), 0, device->blit_priv);
device->blit_priv = NULL;
}
static BOOL gen_planar_yuv_read(struct wined3d_shader_buffer *buffer, enum yuv_fixup yuv_fixup,