VirtualBox

Changeset 86396 in vbox


Ignore:
Timestamp:
Oct 1, 2020 6:52:12 PM (4 years ago)
Author:
vboxsync
Message:

SharedFoldersSvc: Must free pAutoMountPoint in vbsfMappingsRemove. bugref:9841

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedFolders/mappings.cpp

    r82968 r86396  
    458458                    RTStrFree(g_FolderMapping[i].pszFolderName);
    459459                    RTMemFree(g_FolderMapping[i].pMapName);
    460                     g_FolderMapping[i].pszFolderName = NULL;
    461                     g_FolderMapping[i].pMapName      = NULL;
    462                     g_FolderMapping[i].fValid        = false;
     460                    RTMemFree(g_FolderMapping[i].pAutoMountPoint);
     461                    g_FolderMapping[i].pszFolderName   = NULL;
     462                    g_FolderMapping[i].pMapName        = NULL;
     463                    g_FolderMapping[i].pAutoMountPoint = NULL;
     464                    g_FolderMapping[i].fValid          = false;
    463465                    vbsfRootHandleRemove(i);
    464466                    vbsfMappingsWakeupAllWaiters();
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