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 2474e95..84b84f3 100644 (file)
@@ -1,12 +1,11 @@
 /* $Id$ */
 
-/* base - several addons to do specific stuff not in GRAS itself     */
+/* base - several addons to do specific stuff not in GRAS itself            */
 
-/* Authors: Martin Quinson                                                  */
-/* Copyright (C) 2003 the OURAGAN project.                                  */
+/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
 
 /* This program is free software; you can redistribute it and/or modify it
  under the terms of the license (GNU LGPL) which comes with this package. */
* under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/error.h"
 #include "gras/datadesc.h"
@@ -42,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;
    }
 }
@@ -89,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. */
 }