summaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
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);
}