Change data_blob() to be based on top of data_blob_talloc(), instead of the reverse...
authorJeremy Allison <jra@samba.org>
Tue, 18 May 2010 16:57:29 +0000 (09:57 -0700)
committerGünther Deschner <gd@samba.org>
Tue, 18 May 2010 19:57:23 +0000 (21:57 +0200)
commit51dff56dc0197335e84f4942708751a2b70e45a3
tree4ccac276b64eb53114f4978c52677e644a44a9aa
parent0b5f4f3482c959fdd1daf18a392b1f6cf810909e
Change data_blob() to be based on top of data_blob_talloc(), instead of the reverse (as it is now).

It makes no sense to talloc off the null context, then talloc steal
into the required context - just talloc off the correct context, and
change data_blob() to pass in the null context to data_blob_talloc().

Jeremy.

Signed-off-by: Günther Deschner <gd@samba.org>