Fix coredump.

* src/names.c (collect_and_sort_names): Remove
entry from the table before freeing it.
This commit is contained in:
Sergey Poznyakoff
2010-03-27 22:24:19 +02:00
parent b60e56fdb6
commit 40dea1ae7f

View 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);