diff options
Diffstat (limited to 'source4/lib/data_blob.c')
-rw-r--r-- | source4/lib/data_blob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/data_blob.c b/source4/lib/data_blob.c index ee7bffdc1b..bc5cf9abc8 100644 --- a/source4/lib/data_blob.c +++ b/source4/lib/data_blob.c @@ -108,7 +108,7 @@ DATA_BLOB data_blob_talloc_steal(TALLOC_CTX *old_ctx, TALLOC_CTX *new_ctx, { DATA_BLOB new; new = *old; - new.data = talloc_steal(old_ctx, new_ctx, old->data); + new.data = talloc_steal(new_ctx, old->data); if (new.data == NULL) { smb_panic("data_blob_talloc_steal: talloc_steal failed.\n"); } |