diff options
author | Gerald Carter <jerry@samba.org> | 2005-04-18 16:08:52 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2005-04-18 16:08:52 +0000 |
commit | 4bdbd8bd0742c2c6e4ef65d7030a710412ad6234 (patch) | |
tree | b0b63f76422bf70560832976c5e4174f01c70fb0 /source/tdb/tdb.c | |
parent | 65e71c35f782cb1c8a22c61e88f1f853b585b297 (diff) | |
download | samba-4bdbd8bd0742c2c6e4ef65d7030a710412ad6234.tar.gz samba-4bdbd8bd0742c2c6e4ef65d7030a710412ad6234.tar.xz samba-4bdbd8bd0742c2c6e4ef65d7030a710412ad6234.zip |
r6369: update release notes
sync with SAMBA_3_0 (r6365).
Getting ready for 3.0.15pre2
Diffstat (limited to 'source/tdb/tdb.c')
-rw-r--r-- | source/tdb/tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tdb/tdb.c b/source/tdb/tdb.c index f66e50afe46..7159550c0c2 100644 --- a/source/tdb/tdb.c +++ b/source/tdb/tdb.c @@ -128,7 +128,7 @@ /* free memory if the pointer is valid and zero the pointer */ #ifndef SAFE_FREE -#define SAFE_FREE(x) do { if ((x) != NULL) {free((x)); (x)=NULL;} } while(0) +#define SAFE_FREE(x) do { if ((x) != NULL) {free(CONST_DISCARD(void *, (x))); (x)=NULL;} } while(0) #endif #define BUCKET(hash) ((hash) % tdb->header.hash_size) |