VirtualBox

Changeset 5010 in vbox for trunk/src


Ignore:
Timestamp:
Sep 24, 2007 4:37:29 PM (17 years ago)
Author:
vboxsync
Message:

small fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Serial/DrvHostSerial.cpp

    r5008 r5010  
    284284
    285285    tcsetattr(pData->DeviceFile, TCSANOW, termiosSetup);
    286     RTMemFree(termiosSetup);
     286    RTMemTmpFree(termiosSetup);
    287287#elif defined(RT_OS_WINDOWS)
    288288    comSetup = (LPDCB)RTMemTmpAllocZ(sizeof(DCB));
     
    380380
    381381    SetCommState(pData->hDeviceFile, comSetup);
    382     RTMemFree(comSetup);
     382    RTMemTmpFree(comSetup);
    383383#endif /* RT_OS_WINDOWS */
    384384
     
    738738#else
    739739
    740     pData->DeviceFile = NIL_RTFILE;
    741740    rc = RTFileOpen(&pData->DeviceFile, pData->pszDevicePath, RTFILE_O_OPEN | RTFILE_O_READWRITE);
    742741
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