return p;
}
+
/*****************************************************************************/
NOEUD *charge_dico(char *nom_fichier, int *nb_mots)
{
}
+NOEUD *detruis_arbre(NOEUD * p)
+{
+ if (p == NULL)
+ return p;
+ else {
+ p->fils = detruis_arbre(p->fils);
+ p->frere = detruis_arbre(p->frere);
+ free(p);
+ p = NULL;
+ return p;
+ }
+}
+
+
/*****************************************************************************/
void sauve_dico(NOEUD * p, char *nom_fichier, int nb_mots)
{
} while (strcmp(mot, "0"));
/* affiche_fich(stdout,arbre,mot,0); */
+ detruis_arbre(arbre);
}