summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-09-19 04:16:35 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-09-19 04:16:35 +0000
commit2309cd7f6415e2908f25c73440e49818bd426de0 (patch)
tree41e393af86e91aa589d59103a42c9e17cf5c7a3d /source3
parent56aa0a274d7bbe7b3a3b28a6043ec69cc97d85f3 (diff)
downloadsamba-2309cd7f6415e2908f25c73440e49818bd426de0.tar.gz
samba-2309cd7f6415e2908f25c73440e49818bd426de0.tar.bz2
samba-2309cd7f6415e2908f25c73440e49818bd426de0.zip
Fix (I hope) compile on HP-UX. Found by the build farm.
(This used to be commit fd5c67d35a3e9eaee6c54151c5fd9381a47c7b14)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/hash.c b/source3/lib/hash.c
index 6c81931152..44cd640b8d 100644
--- a/source3/lib/hash.c
+++ b/source3/lib/hash.c
@@ -192,7 +192,7 @@ hash_element *hash_insert(hash_table *table, char *value, char *key)
bucket = hash_elem->bucket;
ubi_dlRemThis(&(table->lru_chain), &(hash_elem->lru_link.lru_link));
ubi_dlRemThis(bucket, (ubi_dlNodePtr)hash_elem);
- SAFE_FREE((char*)(hash_elem->value));
+ SAFE_FREE(hash_elem->value);
SAFE_FREE(hash_elem);
} else {
table->num_elements += 1;