ソースを参照

Fix coredump.

* src/names.c (collect_and_sort_names): Remove
entry from the table before freeing it.
Sergey Poznyakoff 15 年 前
コミット
40dea1ae7f
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/names.c

+ 1 - 0
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);