Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
splint'able
[simgrid.git] / src / xbt / heap.c
index 2ff7891..c6207b9 100644 (file)
@@ -21,7 +21,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(heap, xbt, "Heap");
 /** \name Functions 
  *  \ingroup XBT_heap
  */
-/*@{*/
+/* @{ */
 /**
  * \param init_size initial size of the heap
  * \param free_func function to call on each element when you want to free
@@ -50,8 +50,8 @@ void xbt_heap_free(xbt_heap_t H)
   if (H->free)
     for (i = 0; i < H->count; i++)
       H->free(H->items[i].content);
-  xbt_free(H->items);
-  xbt_free(H);
+  free(H->items);
+  free(H);
   return;
 }
 
@@ -186,4 +186,4 @@ static void xbt_heap_increaseKey(xbt_heap_t H, int i)
   }
   return;
 }
-/*@}*/
+/* @} */