diff options
author | Pixel <> | 2001-04-13 12:03:09 +0000 |
---|---|---|
committer | Pixel <> | 2001-04-13 12:03:09 +0000 |
commit | a984cf3f28d3a5935c84f96f6da3bc7bd39a9ff1 (patch) | |
tree | cf0157e6e7f9df0f6025b1191d5f6be17b9b057d /lib/hash.c | |
parent | 905814760584d843409763d9f3c24b73b0780444 (diff) |
Assembleur.
Diffstat (limited to 'lib/hash.c')
-rw-r--r-- | lib/hash.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -95,7 +95,8 @@ static void Supprimer(_ListeChaine * l, char *Nom) } } -static void Detruit(_ListeChaine * l) { +static void Detruit(_ListeChaine * l) +{ _ListeChaine l_aux = NULL; while (*l) { @@ -180,13 +181,14 @@ int Initialise(_TableauVariable * t) return (i); } -void DetruitTab(_TableauVariable * t){ +void DetruitTab(_TableauVariable * t) +{ int i; for (i = 0; i < strlen(CHAINEHACHAGE); i++) { Detruit(&((*t)[i])); } - + free(*t); *t = NULL; } |