X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fdelete_image.c;h=8844d6b31f7a3f90744d0dd983757cc866aa7e44;hp=442f8b609436f1c1c9c3e50eaa08c9eebaf2afc9;hb=3de1ec66f778edda19865482d685bc6f4e17faf7;hpb=afda46903074c907e31408d599ae74fc0597b368 diff --git a/src/delete_image.c b/src/delete_image.c index 442f8b60..8844d6b3 100644 --- a/src/delete_image.c +++ b/src/delete_image.c @@ -38,15 +38,15 @@ delete_wim_image(WIMStruct *wim, int image) int ret; /* Load the metadata for the image to be deleted. This is necessary - * because streams referenced by files in the image need to have their + * because blobs referenced by files in the image need to have their * reference counts decremented. */ ret = select_wim_image(wim, image); if (ret) return ret; /* Release the reference to the image metadata and decrement reference - * counts on the streams referenced by files in the image. */ - put_image_metadata(wim->image_metadata[image - 1], wim->lookup_table); + * counts on the blobs referenced by files in the image. */ + put_image_metadata(wim->image_metadata[image - 1], wim->blob_table); /* Remove the empty slot from the image metadata array. */ memmove(&wim->image_metadata[image - 1], &wim->image_metadata[image],