From: Sergey Poznyakoff Date: Sat, 27 Mar 2010 20:24:19 +0000 (+0200) Subject: Fix coredump. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=40dea1ae7fc892a54eae2efd30ddd8559c697525;p=chaz%2Ftar Fix coredump. * src/names.c (collect_and_sort_names): Remove entry from the table before freeing it. --- diff --git a/src/names.c b/src/names.c index 2beaf3e..a3c6f58 100644 --- a/src/names.c +++ b/src/names.c @@ -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);