X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fmount_image.c;h=04be3f6f73c8e3ea9b6b87de79959921ee3302b9;hp=7b3a91470d7c7c5c6b57df3412a4f49bf6dd9b52;hb=8d51112e66e90048a944dcc58b01ab6b76e4c02c;hpb=9c088d75ecfd3c2c65a6e7e1b54eb65c7f1cab14 diff --git a/src/mount_image.c b/src/mount_image.c index 7b3a9147..04be3f6f 100644 --- a/src/mount_image.c +++ b/src/mount_image.c @@ -667,6 +667,7 @@ extract_resource_to_staging_dir(struct wim_inode *inode, } } + lte_put_resource(new_lte); new_lte->refcnt = inode->i_nlink; new_lte->resource_location = RESOURCE_IN_STAGING_FILE; new_lte->staging_file_name = staging_file_name;