Changeset 44940 in vbox for trunk/src/VBox/Storage/QED.cpp
- Timestamp:
- Mar 6, 2013 10:12:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/QED.cpp
r44529 r44940 703 703 704 704 /** 705 * Converts a given logical offset into the 705 * Converts a given logical offset into the 706 706 * 707 707 * @returns nothing. … … 1150 1150 1151 1151 if (pImage->pszBackingFilename) 1152 { 1152 1153 RTMemFree(pImage->pszBackingFilename); 1154 pImage->pszBackingFilename = NULL; 1155 } 1153 1156 1154 1157 qedL2TblCacheDestroy(pImage); … … 1218 1221 { 1219 1222 /* Load backing filename from image. */ 1220 pImage->psz Filename = (char *)RTMemAllocZ(Header.u32BackingFilenameSize + 1); /* +1 for \0 terminator. */1221 if (pImage->psz Filename)1223 pImage->pszBackingFilename = (char *)RTMemAllocZ(Header.u32BackingFilenameSize + 1); /* +1 for \0 terminator. */ 1224 if (pImage->pszBackingFilename) 1222 1225 { 1223 1226 pImage->cbBackingFilename = Header.u32BackingFilenameSize; … … 2466 2469 AssertPtr(pImage); 2467 2470 if (pImage) 2468 if (pImage->psz Filename)2471 if (pImage->pszBackingFilename) 2469 2472 *ppszParentFilename = RTStrDup(pImage->pszBackingFilename); 2470 2473 else
Note:
See TracChangeset
for help on using the changeset viewer.