mirror of
https://github.com/reactos/reactos.git
synced 2024-11-24 12:03:31 +08:00
[WINESYNC] d3dx9: Release the full parameter name when a parameter is released (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 63443f249f4dfe748ce3872e74ecf5c1d8aa55d9 by Sven Baars <sven.wine@gmail.com>
This commit is contained in:
parent
e4ffc986e5
commit
c2b534f4fd
@ -585,6 +585,9 @@ static void free_parameter(struct d3dx_parameter *param, BOOL element, BOOL chil
|
||||
HeapFree(GetProcessHeap(), 0, param->members);
|
||||
}
|
||||
|
||||
if (param->full_name)
|
||||
heap_free(param->full_name);
|
||||
|
||||
free_parameter_data(param, child);
|
||||
|
||||
/* only the parent has to release name and semantic */
|
||||
|
@ -15,4 +15,4 @@ files: {include/d3dx9.h: sdk/include/dxsdk/d3dx9.h, include/d3dx9anim.h: sdk/inc
|
||||
include/d3dx9mesh.h: sdk/include/dxsdk/d3dx9mesh.h, include/d3dx9of.h: sdk/include/dxsdk/d3dx9of.h,
|
||||
include/d3dx9shader.h: sdk/include/dxsdk/d3dx9shader.h, include/d3dx9shape.h: sdk/include/dxsdk/d3dx9shape.h,
|
||||
include/d3dx9tex.h: sdk/include/dxsdk/d3dx9tex.h, include/d3dx9xof.h: sdk/include/dxsdk/d3dx9xof.h}
|
||||
tags: {wine: 5c5a8ae23ff7fe9c103de4e3dfce06bf1b8778c1}
|
||||
tags: {wine: 63443f249f4dfe748ce3872e74ecf5c1d8aa55d9}
|
||||
|
Loading…
Reference in New Issue
Block a user