--- rpl/src/sommations.c 2015/01/05 15:32:25 1.52 +++ rpl/src/sommations.c 2015/01/27 14:18:09 1.53 @@ -204,7 +204,7 @@ sommation_vecteur_complexe(complex16 *ve integer8 i; integer8 nombre_elements; - if ((tampon = malloc(((size_t) (*taille)) * sizeof(real8))) == NULL) + if ((tampon = sys_malloc(((size_t) (*taille)) * sizeof(real8))) == NULL) { (*erreur_memoire) = d_vrai; @@ -236,7 +236,7 @@ sommation_vecteur_complexe(complex16 *ve cumul.partie_imaginaire = sommation_vecteur_reel(tampon, taille, erreur_memoire); - free(tampon); + sys_free(tampon); return(cumul); }