]> Dogcows Code - chaz/tar/commitdiff
Fix coredump.
authorSergey Poznyakoff <gray@gnu.org.ua>
Sat, 27 Mar 2010 20:24:19 +0000 (22:24 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sat, 27 Mar 2010 20:24:19 +0000 (22:24 +0200)
* src/names.c (collect_and_sort_names): Remove
entry from the table before freeing it.

src/names.c

index 2beaf3e57a59e4ff7cd6d522d1774172d9d5768f..a3c6f58a899d387278c4ee648b8cd6d6cb2e41fd 100644 (file)
@@ -986,6 +986,7 @@ collect_and_sort_names (void)
                {
                  if (p->child)
                    rebase_child_list (p->child, name);
+                 hash_delete (nametab, name);
                  /* FIXME: remove_directory (p->caname); ? */
                  remname (p);
                  free_name (p);
This page took 0.027556 seconds and 4 git commands to generate.