Changeset 12329 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Sep 10, 2008 8:16:23 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp
r12328 r12329 756 756 ; 757 757 const char **paExts = (const char **)RTMemAlloc((cExts+1) * sizeof(paExts[0])); 758 if (!paExts) 759 { 760 rc = VERR_NO_MEMORY; 761 break; 762 } 758 763 for (iExt=0; iExt < cExts; iExt++) 759 764 { … … 765 770 } 766 771 } 767 paExts[iExt] = NULL;768 772 if (RT_FAILURE(rc)) 769 773 break; 774 paExts[iExt] = NULL; 770 775 pEntries[cEntries].papszFileExtensions = paExts; 771 776 if (pBackend->paConfigInfo != NULL)
Note:
See TracChangeset
for help on using the changeset viewer.