소스 검색

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