summaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2002-12-10 20:56:47 +0000
committerThomas Roessler <roessler@does-not-exist.org>2002-12-10 20:56:47 +0000
commitb62866d93e48a510912a1f503d907a2320da9238 (patch)
tree807a4c446cbec93779394a22cbc645430c8c94b1 /hash.c
parentcd96c3449e02199afe9cde511f128bb387f5f4d3 (diff)
Replace safe_free calls by the FREE macro.
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hash.c b/hash.c
index a9b7b5d9..c9037ca1 100644
--- a/hash.c
+++ b/hash.c
@@ -146,9 +146,9 @@ void hash_destroy (HASH **ptr, void (*destroy) (void *))
elem = elem->next;
if (destroy)
destroy (tmp->data);
- safe_free ((void **) &tmp);
+ FREE (&tmp);
}
}
- safe_free ((void **) &pptr->table);
- safe_free ((void **) ptr);
+ FREE (&pptr->table);
+ FREE (ptr);
}