VirtualBox

Ignore:
Timestamp:
Oct 30, 2017 11:08:37 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118866
Message:

Runtime/vfs/vfsiosmisc: Fix possible memory leak

File:
1 edited

Legend:

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

    r69111 r69523  
    170170                void *pvNew = RTMemRealloc(pvBuf, cbAllocated);
    171171                AssertBreakStmt(pvNew, rc = VERR_NO_MEMORY);
     172                pvBuf = pvNew;
    172173
    173174                cbToRead = cbAllocated - off - READ_ALL_HEADER_SIZE - 1;
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