Ignore:
Timestamp:
Feb 18, 2003, 7:48:55 PM (23 years ago)
Author:
sandervl
Message:

Cleaned up memory map code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/exceptions.cpp

    r9315 r9824  
    1 /* $Id: exceptions.cpp,v 1.66 2002-10-01 11:37:19 sandervl Exp $ */
     1/* $Id: exceptions.cpp,v 1.67 2003-02-18 18:48:53 sandervl Exp $ */
    22
    33/*
     
    12401240        map = Win32MemMapView::findMapByView(pERepRec->ExceptionInfo[1], &offset, accessflag);
    12411241        if(map == NULL) {
    1242                 goto continueFail;
    1243         }
    1244         if(map->commitPage(offset, fWriteAccess) == TRUE)
    1245                 goto continueexecution;
     1242            goto continueFail;
     1243        }
     1244        BOOL ret = map->commitPage(offset, fWriteAccess);
     1245        map->Release();
     1246        if(ret == TRUE);
     1247            goto continueexecution;
    12461248
    12471249        //no break;
Note: See TracChangeset for help on using the changeset viewer.