Changeset 7596 in vbox
- Timestamp:
- Mar 27, 2008 3:36:37 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r7594 r7596 3161 3161 if (type == "gui") 3162 3162 { 3163 char VirtualBox_exe[sz];3163 char *VirtualBox_exe = (char *) RTMemAlloc (sz); 3164 3164 size_t cchActual; 3165 3165 vrc = RTEnvGetEx (env, "VBOXGUIPATH", VirtualBox_exe, sz, &cchActual); 3166 AssertRCBreak Void (vrc);3166 AssertRCBreak (vrc, RTStrFree (VirtualBox_exe)); 3167 3167 strcpy (cmd, VirtualBox_exe); 3168 3168 … … 3175 3175 #endif 3176 3176 vrc = RTProcCreate (path, args, env, 0, &pid); 3177 RTStrFree (VirtualBox_exe); 3177 3178 } 3178 3179 else
Note:
See TracChangeset
for help on using the changeset viewer.