No subject


Sat Jul 26 02:57:16 CDT 2008


But the if statement should guard for that.  No?
I'm not even going to bother putting in braces for the "after" call,
but I'm not understanding why I seemed to be getting heap corruption
(when I had the "before" call) when I'm not even supposed to be
calling it due to the guarded if statement.  From MSDN Calling
HeapFree twice with the same pointer can cause heap corruption
if (g_pTrades != NULL){
       ::HeapFree(hHeap, 0, g_pTrades);
}



More information about the wine-users mailing list