VirtualBox

Changeset 31027 in vbox


Ignore:
Timestamp:
Jul 23, 2010 12:13:31 AM (15 years ago)
Author:
vboxsync
Message:

oops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSharedFolders.cpp

    r31026 r31027  
    3535        VBGLR3SHAREDFOLDERMAPPING *paMappings = (PVBGLR3SHAREDFOLDERMAPPING)RTMemAlloc(cbMappings);
    3636
    37         if (pMappings)
     37        if (paMappings)
    3838        {
    3939            rc = VbglR3SharedFolderGetMappings(u32ClientId, true /* Only process auto-mounted folders */,
    40                                                pMappings, cbMappings,
     40                                               paMappings, cbMappings,
    4141                                               &cMappings);
    4242            if (RT_SUCCESS(rc))
     
    4646                {
    4747                    char *pszName = NULL;
    48                     rc = VbglR3SharedFolderGetName(u32ClientId, pMappings[i].u32Root, &pszName);
     48                    rc = VbglR3SharedFolderGetName(u32ClientId, paMappings[i].u32Root, &pszName);
    4949                    if (   RT_SUCCESS(rc)
    5050                        && *pszName)
     
    8585                    else
    8686                        Log(("VBoxTray: Error while getting the shared folder name for root node = %u, rc = %Rrc\n",
    87                              pMappings[i].u32Root, rc));
     87                             paMappings[i].u32Root, rc));
    8888                }
    8989            }
    9090            else
    9191                Log(("VBoxTray: Error while getting the shared folder mappings, rc = %Rrc\n", rc));
    92             RTMemFree(pMappings);
     92            RTMemFree(paMappings);
    9393        }
    9494        else
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