Huw Davies : wineps: Free the output string from the correct heap.
Alexandre Julliard
julliard at winehq.org
Tue Apr 3 12:17:40 CDT 2012
Module: wine
Branch: master
Commit: 1432b3141ae8d8a0e9f37a6e785174a7542a31fd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1432b3141ae8d8a0e9f37a6e785174a7542a31fd
Author: Huw Davies <huw at codeweavers.com>
Date: Tue Apr 3 15:25:50 2012 +0100
wineps: Free the output string from the correct heap.
---
dlls/wineps.drv/init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wineps.drv/init.c b/dlls/wineps.drv/init.c
index c6a4488..4057bdd 100644
--- a/dlls/wineps.drv/init.c
+++ b/dlls/wineps.drv/init.c
@@ -412,7 +412,7 @@ static BOOL PSDRV_DeleteDC( PHYSDEV dev )
TRACE("\n");
HeapFree( PSDRV_Heap, 0, physDev->Devmode );
- HeapFree( PSDRV_Heap, 0, physDev->job.output );
+ HeapFree( GetProcessHeap(), 0, physDev->job.output );
HeapFree( PSDRV_Heap, 0, physDev );
return TRUE;
More information about the wine-cvs
mailing list