Changeset 1813 for trunk/dll


Ignore:
Timestamp:
Jun 15, 2015, 12:31:32 AM (10 years ago)
Author:
Gregg Young
Message:

Revert unnecessary semaphore placement

Location:
trunk/dll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/arccnrs.c

    r1799 r1813  
    22812281      WinSendMsg(dcd->hwndCnr, UM_CLOSE, MPVOID, MPVOID);
    22822282      WinSetWindowPtr(dcd->hwndCnr, QWL_USER, NULL);    // 13 Apr 10 SHL Set NULL before freeing dcd
    2283       DosRequestMutexSem(hmtxFiltering, SEM_INDEFINITE_WAIT);
    22842283      free(dcd);
    2285       DosReleaseMutexSem(hmtxFiltering);
    22862284#     ifdef FORTIFY
    22872285      Fortify_LeaveScope();
  • trunk/dll/treecnr.c

    r1803 r1813  
    10181018                 UM_CLOSE, MPFROMLONG(dcd->dontclose != FALSE), MPVOID);
    10191019      WinSetWindowPtr(dcd->hwndCnr, QWL_USER, NULL);    // 13 Apr 10 SHL Set NULL before freeing dcd
    1020       DosRequestMutexSem(hmtxFiltering, SEM_INDEFINITE_WAIT);
    10211020      free(dcd);
    1022       DosReleaseMutexSem(hmtxFiltering);
    10231021#     ifdef FORTIFY
    10241022      Fortify_LeaveScope();
     
    33103308        PostMsg(hwndClient, WM_CLOSE, MPVOID, MPVOID);
    33113309        free(dcd);
    3312         dcd = 0;
     3310        dcd = NULL;
    33133311        hwndFrame = (HWND) 0;
    33143312      }
Note: See TracChangeset for help on using the changeset viewer.