https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c2b534f4fdbce49d2a1b33684edeb984ae0cc2b6

commit c2b534f4fdbce49d2a1b33684edeb984ae0cc2b6
Author:     winesync <[email protected]>
AuthorDate: Mon Sep 21 22:51:59 2020 +0200
Commit:     Jérôme Gardou <[email protected]>
CommitDate: Thu Feb 4 16:37:03 2021 +0100

    [WINESYNC] d3dx9: Release the full parameter name when a parameter is 
released (Valgrind).
    
    Signed-off-by: Sven Baars <[email protected]>
    Signed-off-by: Matteo Bruni <[email protected]>
    Signed-off-by: Alexandre Julliard <[email protected]>
    
    wine commit id 63443f249f4dfe748ce3872e74ecf5c1d8aa55d9 by Sven Baars 
<[email protected]>
---
 dll/directx/wine/d3dx9_36/effect.c | 3 +++
 sdk/tools/winesync/d3dx9.cfg       | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/dll/directx/wine/d3dx9_36/effect.c 
b/dll/directx/wine/d3dx9_36/effect.c
index 915a9779b61..d1f3bcfdb5a 100644
--- a/dll/directx/wine/d3dx9_36/effect.c
+++ b/dll/directx/wine/d3dx9_36/effect.c
@@ -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 */
diff --git a/sdk/tools/winesync/d3dx9.cfg b/sdk/tools/winesync/d3dx9.cfg
index c1ab0d829aa..d0a006e01fa 100644
--- a/sdk/tools/winesync/d3dx9.cfg
+++ b/sdk/tools/winesync/d3dx9.cfg
@@ -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}

Reply via email to