s3: Remove some pointless uses of string_sid_talloc
[ira/wip.git] / source3 / lib / eventlog / eventlog.c
index 42b2a06ce3f3822e1d618f88dfacb19825cfc0a6..1c0dba980d54deffb181888f8ce412d4630b2576 100644 (file)
@@ -940,7 +940,7 @@ NTSTATUS evlog_tdb_entry_to_evt_entry(TALLOC_CTX *mem_ctx,
                        return NT_STATUS_INVALID_SID;
                }
                if (len > 0) {
-                       e->UserSid = *string_sid_talloc(mem_ctx, sid_str);
+                       string_to_sid(&e->UserSid, sid_str);
                }
        }