Changeset 35838 in vbox
- Timestamp:
- Feb 3, 2011 3:12:24 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 69831
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r35836 r35838 4423 4423 { 4424 4424 IMedium *pIMedium(sfaMedia[i]); 4425 Medium *pMedium = static_cast<Medium*>(pIMedium); 4425 ComObjPtr<Medium> pMedium = static_cast<Medium*>(pIMedium); 4426 if (pMedium.isNull()) 4427 return setError(E_INVALIDARG, "The given medium pointer %d is invalid", i); 4426 4428 AutoCaller mediumAutoCaller(pMedium); 4427 4429 if (FAILED(mediumAutoCaller.rc())) return mediumAutoCaller.rc();
Note:
See TracChangeset
for help on using the changeset viewer.