diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index 04250a1663e..b9992f84a8b 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -305,7 +305,7 @@ static void d3d10_effect_preshader_clear(struct d3d10_effect_preshader *p) unsigned int i; for (i = 0; i < ARRAY_SIZE(p->reg_tables); ++i) - heap_free(&p->reg_tables[i].f); + heap_free(p->reg_tables[i].f); if (p->code) ID3D10Blob_Release(p->code); heap_free(p->vars);