Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Apply manually the changes which would result in regenerating with the cvs flexml...
[simgrid.git] / src / amok / base.c
index 0e4ab79..84b84f3 100644 (file)
@@ -41,8 +41,8 @@ amok_remoterr_t amok_remoterr_new_va(xbt_error_t param_errcode,
 
 void amok_remoterr_free(amok_remoterr_t *err) {
    if (err && *err) {
-      if ((*err)->msg) xbt_free((*err)->msg);
-      xbt_free(*err);
+      if ((*err)->msg) free((*err)->msg);
+      free(*err);
       err=NULL;
    }
 }
@@ -88,6 +88,6 @@ void amok_base_init(void) {
 }
 
 void amok_base_exit(void) {
-   /* No real module mecanism in GRAS so far, nothing to do. */
+   /* No real module mechanism in GRAS so far, nothing to do. */
 }