VirtualBox

Changeset 28410 in vbox


Ignore:
Timestamp:
Apr 16, 2010 12:06:59 PM (15 years ago)
Author:
vboxsync
Message:

Guest Control: Build fix, memory cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlExec.cpp

    r28409 r28410  
    807807   
    808808            if (RT_FAILURE(rc))
    809             {
    810                 /* Only destroy thread data on failure; otherwise it's destroyed in the thread handler. */
    811809                VBoxServiceControlExecDestroyThreadData(pThread);
    812                 RTMemFree(pThread);
    813             }
    814         }
     810        }
     811        if (RT_FAILURE(rc))
     812            RTMemFree(pThread);
    815813    }
    816814    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