Alistair Leslie-Hughes : dpnet: Don't leak entry name.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Oct 29 09:32:13 CDT 2015


Module: wine
Branch: master
Commit: 54633e3956e6b3c4d8ebbd5d721efa294e9602fb
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=54633e3956e6b3c4d8ebbd5d721efa294e9602fb

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Thu Oct 29 19:21:23 2015 +1100

dpnet: Don't leak entry name.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dpnet/address.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/dpnet/address.c b/dlls/dpnet/address.c
index 4f3a59b..d87d4e7 100644
--- a/dlls/dpnet/address.c
+++ b/dlls/dpnet/address.c
@@ -159,6 +159,7 @@ static ULONG WINAPI IDirectPlay8AddressImpl_Release(IDirectPlay8Address *iface)
                     break;
             }
 
+            heap_free(entry->name);
             heap_free(entry);
         }
 




More information about the wine-cvs mailing list