Ignore:
Timestamp:
Sep 6, 2009, 12:22:28 PM (16 years ago)
Author:
vladest
Message:

Fixed crash due double free

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/pmwindow.cpp

    r21308 r21340  
    591591        qmsg.reserved = 0;
    592592
    593         if(OS2ToWinMsgTranslate((PVOID)teb, &qmsg, &winMsg, FALSE, MSG_REMOVE) == FALSE)
     593        /* sometimes MSG_REMOVE here caused to double free of the message */
     594        if(OS2ToWinMsgTranslate((PVOID)teb, &qmsg, &winMsg, FALSE, /*MSG_REMOVE*/0) == FALSE)
    594595        {//message was not translated
    595596            memset(&winMsg, 0, sizeof(MSG));
     
    14391440        break;
    14401441    }
     1442       
     1443        case WM_CHAR:
     1444                {
     1445                        dprintf(("PMFRAME:WM_CHAR"));
     1446                        break;
     1447                }
    14411448
    14421449    case WM_ADJUSTWINDOWPOS:
Note: See TracChangeset for help on using the changeset viewer.