]> git.saurik.com Git - apple/hfs.git/blobdiff - fsck_hfs/dfalib/SUtils.c
hfs-366.30.3.tar.gz
[apple/hfs.git] / fsck_hfs / dfalib / SUtils.c
index 6404891c092b4f61d5f8dbfb9c05253836cbf536..44b98472119d3e20f2d2f070b393e3a34eb47198 100644 (file)
@@ -1596,7 +1596,7 @@ static void CompareVolHeaderBTreeSizes(   SGlobPtr GPtr,
 
 enum { WIDTH = 16, };
 
-static void
+void
 DumpData(const void *data, size_t len)
 {
        unsigned char *base = (unsigned char*)data;
@@ -1707,6 +1707,7 @@ done:
                } else {
                        uint8_t *ptr = (uint8_t*)theBlockDesc.buffer;
                        DumpData(ptr, theBlockDesc.blockSize);
+                       ReleaseVolumeBlock(myVOPtr->vcbPtr, &theBlockDesc, kReleaseBlock);
                }
        }
        return retval;