Changeset 21394 in vbox for trunk/src/VBox/Main/ConsoleImpl2.cpp
- Timestamp:
- Jul 8, 2009 1:06:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r21393 r21394 1801 1801 * Guest property service 1802 1802 */ 1803 try1804 1803 { 1805 1804 /* Load the service */ … … 1845 1844 timestamps.push_back(timestampsOut[i]); 1846 1845 utf8Flags.push_back(Bstr(flagsOut[i])); 1846 #if 0 /** @todo r=bird: Who is gonna catch this? Why does it trigger now? */ 1847 if ( utf8Names.back().isNull() 1848 || utf8Values.back().isNull() 1849 || utf8Flags.back().isNull() 1850 ) 1851 throw std::bad_alloc(); 1852 #endif 1847 1853 } 1848 1854 for (unsigned i = 0; i < cProps && RT_SUCCESS(rc); ++i) … … 1883 1889 Log(("Set VBoxGuestPropSvc property store\n")); 1884 1890 } 1885 }1886 catch(std::bad_alloc &e)1887 {1888 return VERR_NO_MEMORY;1889 1891 } 1890 1892 #endif /* VBOX_WITH_GUEST_PROPS defined */
Note:
See TracChangeset
for help on using the changeset viewer.