summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/smb_server.h')
-rw-r--r--source4/smb_server/smb_server.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/smb_server/smb_server.h b/source4/smb_server/smb_server.h
index 0389d79306..de5774a930 100644
--- a/source4/smb_server/smb_server.h
+++ b/source4/smb_server/smb_server.h
@@ -421,10 +421,6 @@ struct smbsrv_connection {
smbsrv_send_error(req, NT_STATUS_NO_MEMORY); \
return; \
} \
- if (!talloc_reference(req->ntvfs, req)) { \
- smbsrv_send_error(req, NT_STATUS_NO_MEMORY); \
- return; \
- } \
req->ntvfs->frontend_data.private_data = req; \
} while (0)