VirtualBox

Changeset 86413 in vbox


Ignore:
Timestamp:
Oct 2, 2020 11:40:15 AM (4 years ago)
Author:
vboxsync
Message:

IPRT/vfsstdpipe.cpp: Use RTPipeCloseEx to prevent leaking pipe handle structures when fLeaveOpen is true. bugref:9841

File:
1 edited

Legend:

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

    r82968 r86413  
    6767    PRTVFSSTDPIPE pThis = (PRTVFSSTDPIPE)pvThis;
    6868
    69     int rc;
    70     if (!pThis->fLeaveOpen)
    71         rc = RTPipeClose(pThis->hPipe);
    72     else
    73         rc = VINF_SUCCESS;
     69    int rc = RTPipeCloseEx(pThis->hPipe, pThis->fLeaveOpen);
    7470    pThis->hPipe = NIL_RTPIPE;
    7571
Note: See TracChangeset for help on using the changeset viewer.

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