r2039: got rid of the free() ptr in DATA_BLOB
authorAndrew Tridgell <tridge@samba.org>
Wed, 25 Aug 2004 02:07:20 +0000 (02:07 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:58:19 +0000 (12:58 -0500)
commit600144050ce8e4515937c87be8d2c86c2c337364
tree05e49602381f6fcfa5b01d7f40af09e7f9da436b
parent2ed3ab021deb8e091a6a1a077010824f31b6d5bf
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
source4/lib/data_blob.c