X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Flookup_table.c;h=8ab54b6e84412c103826cbbdaa56a24f631aa9ea;hp=4d62ca5b29c7ede86bfd0fcfb460d40c60f425d9;hb=f3e97b29c4a8c564d54b0fd11cd43a9b4cd6a8ad;hpb=fc8276d0a3efb3df5f7512b3fa9499eb1b3449eb diff --git a/src/lookup_table.c b/src/lookup_table.c index 4d62ca5b..8ab54b6e 100644 --- a/src/lookup_table.c +++ b/src/lookup_table.c @@ -634,7 +634,7 @@ print_lookup_table_entry(const struct wim_lookup_table_entry *lte, FILE *out) tfprintf(out, T("Reference Count = %u\n"), lte->refcnt); if (lte->unhashed) { - tfprintf(out, T("(Unhashed, back ptr at %p)\n"), lte->my_ptr); + tfprintf(out, T("(Unhashed, back ptr at %p)\n"), lte->back_ptr); } else { tfprintf(out, T("Hash = 0x")); print_hash(lte->hash, out); @@ -891,15 +891,3 @@ lookup_table_total_stream_size(struct wim_lookup_table *table) for_lookup_table_entry(table, lte_add_stream_size, &total_size); return total_size; } - -void -free_lte_list(struct list_head *list) -{ - struct wim_lookup_table_entry *lte, *tmp; - - list_for_each_entry_safe(lte, tmp, list, staging_list) { - DEBUG("%p", lte); - free_lookup_table_entry(lte); -} - INIT_LIST_HEAD(list); -}