Module: wine Branch: master Commit: 421d3cd9e802ec63fe5928b4f331ff85064f83d6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=421d3cd9e802ec63fe5928b4f3...
Author: Bruno Jesus 00cpxxx@gmail.com Date: Sat Jul 12 16:02:13 2014 -0300
wineconsole: Free registry key name (valgrind).
---
programs/wineconsole/wineconsole.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c index 7698521..3c2faf5 100644 --- a/programs/wineconsole/wineconsole.c +++ b/programs/wineconsole/wineconsole.c @@ -519,6 +519,7 @@ static void WINECON_Delete(struct inner_data* data) if (data->hConIn) CloseHandle(data->hConIn); if (data->hConOut) CloseHandle(data->hConOut); if (data->hSynchro) CloseHandle(data->hSynchro); + HeapFree(GetProcessHeap(), 0, data->curcfg.registry); HeapFree(GetProcessHeap(), 0, data->cells); HeapFree(GetProcessHeap(), 0, data); }