소스 검색

Actually free the hashtable

Samuel Thibault 13 년 전
부모
커밋
71a1d6521a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/common/htable32.c

+ 2 - 0
src/common/htable32.c

@@ -121,6 +121,8 @@ static void _starpu_htbl_destroy_32_bit(struct starpu_htbl32_node *htbl, unsigne
 	for (i = 0; i < 1<<_STARPU_HTBL32_NODE_SIZE; i++) {
 		_starpu_htbl_destroy_32_bit(htbl->children[i], bit+_STARPU_HTBL32_NODE_SIZE, remove);
 	}
+
+	free(htbl);
 }
 void _starpu_htbl_destroy_32(struct starpu_htbl32_node *htbl, void (*remove)(void*))
 {