diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-07-11 12:59:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:58 -0500 |
commit | 02262db2ed81fd99a58bce4b7a21c75184264483 (patch) | |
tree | d9a5349be9f0904d9d3c9989926f576a285c9fc4 | |
parent | fb8ae4518ac22df2bd629050292190b18d1f8afb (diff) | |
download | samba-02262db2ed81fd99a58bce4b7a21c75184264483.tar.gz samba-02262db2ed81fd99a58bce4b7a21c75184264483.tar.bz2 samba-02262db2ed81fd99a58bce4b7a21c75184264483.zip |
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)
-rw-r--r-- | source4/lib/data_blob.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } /******************************************************************* |