summaryrefslogtreecommitdiff
path: root/lib/hash.c
diff options
context:
space:
mode:
authorPixel <>2001-04-13 12:03:09 +0000
committerPixel <>2001-04-13 12:03:09 +0000
commita984cf3f28d3a5935c84f96f6da3bc7bd39a9ff1 (patch)
treecf0157e6e7f9df0f6025b1191d5f6be17b9b057d /lib/hash.c
parent905814760584d843409763d9f3c24b73b0780444 (diff)
Assembleur.
Diffstat (limited to 'lib/hash.c')
-rw-r--r--lib/hash.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/hash.c b/lib/hash.c
index 3736b80..58b6f9f 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -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;
}