summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 1252c6756b..06f9018269 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -802,7 +802,7 @@ DATA_BLOB strhex_to_data_blob(TALLOC_CTX *mem_ctx, const char *strhex)
if (mem_ctx != NULL)
ret_blob = data_blob_talloc(mem_ctx, NULL, strlen(strhex)/2+1);
else
- data_blob(NULL, strlen(strhex)/2+1);
+ ret_blob = data_blob(NULL, strlen(strhex)/2+1);
ret_blob.length = strhex_to_str((char*)ret_blob.data,
strlen(strhex),