r9201: Ouch.... :-(
authorVolker Lendecke <vlendec@samba.org>
Sun, 7 Aug 2005 21:34:55 +0000 (21:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:00:28 +0000 (11:00 -0500)
(This used to be commit c78760d71ec6a364a912ba35e8a90f8005fdc018)

source3/lib/util_str.c

index 1252c6756bf4ca0a8d500df0e12e051ddb9763c3..06f901826955f7a35914f1c76c4504a25281a4c6 100644 (file)
@@ -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),