Samuel Thibault лет назад: 13
Родитель
Сommit
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*))
 {