VirtualBox

Changeset 36670 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Apr 14, 2011 12:51:28 PM (14 years ago)
Author:
vboxsync
Message:

VBoxVideo: fix memory leak in seamless mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/enable.c

    r34665 r36670  
    173173                                   &ulReturn))
    174174            {
    175                 DISPDBG((0, "DISP DrvAssertMode failed IOCTL_VIDEO_VBOX_SETVISIBLEREGION\n"));
     175                DISPDBG((0, "DISP IOCTL_VIDEO_VBOX_SETVISIBLEREGION failed\n"));
     176                EngFreeMem(pRTRect);
    176177                return 0;
    177178            }
     
    179180            {
    180181                DISPDBG((0, "DISP IOCTL_VIDEO_VBOX_SETVISIBLEREGION successful\n"));
     182                EngFreeMem(pRTRect);
    181183                return 1;
    182184            }
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