VirtualBox

Changeset 84832 in vbox


Ignore:
Timestamp:
Jun 15, 2020 12:41:21 PM (4 years ago)
Author:
vboxsync
Message:

bugref:9637. freeing after return does not make much sense.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp

    r84831 r84832  
    650650        hRunningOffset += hWidth;
    651651    }
    652     return VMwareCtrlSetTopology(x11Context.pDisplay, x11Context.hVMWCtrlMajorOpCode,
    653                                  DefaultScreen(x11Context.pDisplay),
    654                                  extents, x11Context.hOutputCount);
     652    bool fResult = VMwareCtrlSetTopology(x11Context.pDisplay, x11Context.hVMWCtrlMajorOpCode,
     653                                         DefaultScreen(x11Context.pDisplay),
     654                                         extents, x11Context.hOutputCount);
    655655    free(extents);
     656    return fResult;
    656657}
    657658
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