Detlef Riekenberg : kernel32: Display the parameter that caused a page fault in GlobalFree().

Alexandre Julliard julliard at wine.codeweavers.com
Thu Mar 30 05:44:18 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 464b35522b5443ac0a4f388a93e2d470a0ba3253
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=464b35522b5443ac0a4f388a93e2d470a0ba3253

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Thu Mar 30 10:37:52 2006 +0200

kernel32: Display the parameter that caused a page fault in GlobalFree().

---

 dlls/kernel/heap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel/heap.c b/dlls/kernel/heap.c
index 1f1e479..c76f876 100644
--- a/dlls/kernel/heap.c
+++ b/dlls/kernel/heap.c
@@ -736,7 +736,7 @@ HGLOBAL WINAPI GlobalFree(HGLOBAL hmem)
     }
     __EXCEPT_PAGE_FAULT
     {
-        ERR("page fault occurred ! Caused by bug ?\n");
+        ERR("(%p): Page fault occurred ! Caused by bug ?\n", hmem);
         SetLastError( ERROR_INVALID_PARAMETER );
         hreturned = hmem;
     }




More information about the wine-cvs mailing list