diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-08-25 02:07:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:19 -0500 |
commit | 600144050ce8e4515937c87be8d2c86c2c337364 (patch) | |
tree | 05e49602381f6fcfa5b01d7f40af09e7f9da436b /source4/include/rewrite.h | |
parent | 2ed3ab021deb8e091a6a1a077010824f31b6d5bf (diff) | |
download | samba-600144050ce8e4515937c87be8d2c86c2c337364.tar.gz samba-600144050ce8e4515937c87be8d2c86c2c337364.tar.bz2 samba-600144050ce8e4515937c87be8d2c86c2c337364.zip |
r2039: got rid of the free() ptr in DATA_BLOB
I plan on replacing the concept by adding a generic destructor in all talloc ptrs, so you can do:
talloc_set_destructor(ptr, my_destructor);
to setup a function that will be called on free.
(This used to be commit 957b260621c091830c01e9e8c370c199350342ec)
Diffstat (limited to 'source4/include/rewrite.h')
-rw-r--r-- | source4/include/rewrite.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/include/rewrite.h b/source4/include/rewrite.h index 626a467331..0bac4ab19e 100644 --- a/source4/include/rewrite.h +++ b/source4/include/rewrite.h @@ -78,7 +78,6 @@ typedef smb_ucs2_t wfstring[FSTRING_LEN]; typedef struct data_blob { uint8_t *data; size_t length; - void (*free)(struct data_blob *data_blob); } DATA_BLOB; #include "enums.h" |