VirtualBox

Ignore:
Timestamp:
Aug 22, 2017 12:54:05 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117662
Message:

vfsbase.cpp: fixed lock leak in rtVfsObjDestroy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/vfs/vfsbase.cpp

    r67274 r68505  
    928928            rtVfsObjRelease(&pThis->hVfs->Base);
    929929        pThis->hVfs = NIL_RTVFS;
     930    }
     931    if (pThis->hLock != NIL_RTVFSLOCK)
     932    {
     933        RTVfsLockRelease(pThis->hLock);
     934        pThis->hLock = NIL_RTVFSLOCK;
    930935    }
    931936    RTMemFree(pvToFree);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette