VirtualBox

Changeset 7367 in vbox


Ignore:
Timestamp:
Mar 7, 2008 2:18:59 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28791
Message:

Additions/x11: fixed an access to freed memory in the seamless additions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibSeamless.cpp

    r6783 r7367  
    121121        memcpy(&pReq->Rect, pRects, cRects * sizeof(RTRECT));
    122122        rc = vbglR3GRPerform(&pReq->header);
     123        if (RT_SUCCESS(rc))
     124            rc = pReq->header.rc;
    123125        vbglR3GRFree(&pReq->header);
    124         if (RT_SUCCESS(rc))
    125         {
    126             if (RT_SUCCESS(pReq->header.rc))
    127                 return VINF_SUCCESS;
    128             rc = pReq->header.rc;
    129         }
    130126    }
    131127    return rc;
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