From 02262db2ed81fd99a58bce4b7a21c75184264483 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 11 Jul 2004 12:59:27 +0000 Subject: r1452: Thanks to Volker for spotting that this code was certainly not tested... (make sure to actually return the result). Andrew Bartlett (This used to be commit 8d449bbe2b9aa29315e894be1400a9475ef99468) --- source4/lib/data_blob.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source4/lib/data_blob.c b/source4/lib/data_blob.c index a6e6672b90..ee7bffdc1b 100644 --- a/source4/lib/data_blob.c +++ b/source4/lib/data_blob.c @@ -112,6 +112,7 @@ DATA_BLOB data_blob_talloc_steal(TALLOC_CTX *old_ctx, TALLOC_CTX *new_ctx, if (new.data == NULL) { smb_panic("data_blob_talloc_steal: talloc_steal failed.\n"); } + return new; } /******************************************************************* -- cgit