VirtualBox

Ignore:
Timestamp:
Jan 5, 2011 1:17:57 PM (14 years ago)
Author:
vboxsync
Message:

DevVGA: free the screenshot buffer on not success.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r35353 r35407  
    46574657                *pcy = Connector.cy;
    46584658            }
     4659            else
     4660            {
     4661                /* If we do not return a success, then the data buffer must be freed. */
     4662                RTMemFree(pu8Data);
     4663            }
    46594664        }
    46604665    }
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