Parcourir la source

Actually free the hashtable

Samuel Thibault il y a 13 ans
Parent
commit
71a1d6521a
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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*))
 {