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)
commit829c87634b2aca87789371ad33231e9d4bc518a8
treef1f76385ca24030eaf469c7c7fdd2f36d5fbbae0
parentf6f3bb1813b5f030616e422ed420b938244be84e
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>
lib/util/data_blob.c