Changeset 84260 in vbox
- Timestamp:
- May 11, 2020 4:21:14 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp
r84254 r84260 1113 1113 1114 1114 /* Prepare environment. The guest service dislikes the empty string at the end, so drop it. */ 1115 size_t cbEnvBlock = 0;/* Shut up MSVC. */1116 char *pszzEnvBlock ;1115 size_t cbEnvBlock = 0; /* Shut up MSVC. */ 1116 char *pszzEnvBlock = NULL; /* Ditto. */ 1117 1117 if (RT_SUCCESS(vrc)) 1118 1118 vrc = mData.mProcess.mEnvironmentChanges.queryUtf8Block(&pszzEnvBlock, &cbEnvBlock); … … 1129 1129 Assert(cbEnvBlock > 0); 1130 1130 cbEnvBlock--; 1131 AssertPtr(pszzEnvBlock); 1131 1132 1132 1133 /* Prepare HGCM call. */ … … 1177 1178 AssertRC(rc2); 1178 1179 } 1179 1180 } 1181 1182 if (pszzEnvBlock) 1183 { 1180 1184 mData.mProcess.mEnvironmentChanges.freeUtf8Block(pszzEnvBlock); 1185 pszzEnvBlock = NULL; 1181 1186 } 1182 1187
Note:
See TracChangeset
for help on using the changeset viewer.