diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-07-11 12:59:27 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2004-07-11 12:59:27 +0000 |
commit | f4d29db882de89e8d5d9117c3b141e89869cb32a (patch) | |
tree | df77eb5a835c8e8bf7c40978e10c2919b7e10c62 /source/lib/data_blob.c | |
parent | 398e8fc96368aa553e28d3db2184d7f443b4dca2 (diff) | |
download | samba-f4d29db882de89e8d5d9117c3b141e89869cb32a.tar.gz samba-f4d29db882de89e8d5d9117c3b141e89869cb32a.tar.xz samba-f4d29db882de89e8d5d9117c3b141e89869cb32a.zip |
r1452: Thanks to Volker for spotting that this code was certainly not tested...
(make sure to actually return the result).
Andrew Bartlett
Diffstat (limited to 'source/lib/data_blob.c')
-rw-r--r-- | source/lib/data_blob.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/lib/data_blob.c b/source/lib/data_blob.c index a6e6672b90b..ee7bffdc1b3 100644 --- a/source/lib/data_blob.c +++ b/source/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; } /******************************************************************* |