s3: Fix a valgrind error
authorVolker Lendecke <vl@samba.org>
Thu, 6 Jan 2011 01:12:00 +0000 (02:12 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 7 Jan 2011 12:28:06 +0000 (13:28 +0100)
source3/libsmb/clidgram.c

index fe6269b9e13cb2d03f51ac13fef4a0a7cbefcd88..8a95cba6059362fbaaaf3fc0c169df4f05273047 100644 (file)
@@ -271,7 +271,7 @@ static bool parse_getdc_response(
                return false;
        }
 
-       status = pull_netlogon_samlogon_response(&blob, mem_ctx, r);
+       status = pull_netlogon_samlogon_response(&blob, r, r);
        if (!NT_STATUS_IS_OK(status)) {
                TALLOC_FREE(r);
                return false;