From 600144050ce8e4515937c87be8d2c86c2c337364 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 25 Aug 2004 02:07:20 +0000 Subject: 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) --- source4/include/rewrite.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source4/include/rewrite.h') 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" -- cgit