Changeset 48722 in vbox
- Timestamp:
- Sep 27, 2013 8:01:03 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r48720 r48722 154 154 if (RT_SUCCESS(rc)) 155 155 { 156 PVBOXSERVICECTRLFILE pFile = (PVBOXSERVICECTRLFILE)RTMemAlloc (sizeof(VBOXSERVICECTRLFILE));156 PVBOXSERVICECTRLFILE pFile = (PVBOXSERVICECTRLFILE)RTMemAllocZ(sizeof(VBOXSERVICECTRLFILE)); 157 157 if (pFile) 158 158 { … … 199 199 200 200 if (RT_FAILURE(rc)) 201 { 202 if (pFile->hFile) 203 RTFileClose(pFile->hFile); 201 204 RTMemFree(pFile); 205 } 202 206 } 203 207 else
Note:
See TracChangeset
for help on using the changeset viewer.