X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Ftemplate.c;h=1c018df7db28f4ac678582e718c729480732d4d3;hb=ba8edbaf442ff0b30ca9ee1d16a4a646876ed94c;hp=e5413e5fafa8c607ab50a942b17bdde45c41f847;hpb=cc187fadce655d4806d450af8936c4c807ba18b8;p=wimlib diff --git a/src/template.c b/src/template.c index e5413e5f..1c018df7 100644 --- a/src/template.c +++ b/src/template.c @@ -114,7 +114,8 @@ inode_copy_checksums(struct wim_inode *inode, back_ptr = retrieve_pointer_to_unhashed_blob(blob); copy_hash(blob->hash, template_blob->hash); - if (after_blob_hashed(blob, back_ptr, blob_table) != blob) + if (after_blob_hashed(blob, back_ptr, blob_table, + inode) != blob) free_blob_descriptor(blob); } }