s3:smbd: make fsp->fake_file_handle a talloc child of fsp
authorStefan Metzmacher <metze@samba.org>
Tue, 27 Apr 2010 13:20:25 +0000 (15:20 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 28 Apr 2010 13:46:58 +0000 (15:46 +0200)
metze

source3/smbd/pipes.c

index aff5f5349596c49269e0216d7d60406a41a56c5d..e2c0cdc2f3436b4233174102a18a34f316470f91 100644 (file)
@@ -65,7 +65,7 @@ NTSTATUS open_np_file(struct smb_request *smb_req, const char *name,
                return status;
        }
 
-       status = np_open(NULL, name, conn->client_address,
+       status = np_open(fsp, name, conn->client_address,
                         conn->server_info, &fsp->fake_file_handle);
        if (!NT_STATUS_IS_OK(status)) {
                DEBUG(10, ("np_open(%s) returned %s\n", name,