s3:smbd: move sconn->smb1.negprot.* to xconn->smb1.negprot.*
[mat/samba.git] / source3 / smbd / server_exit.c
index 4c91bfbdfd40fd3b8fbe05bd3cc19d4ed801989e..077b81a1173306a7a87eaa2ef0ba4eed982388a1 100644 (file)
@@ -113,7 +113,7 @@ static void exit_server_common(enum server_exit_reason how,
                        }
                }
 
-               TALLOC_FREE(sconn->smb1.negprot.auth_context);
+               TALLOC_FREE(conn->smb1.negprot.auth_context);
 
                if (lp_log_writeable_files_on_exit()) {
                        bool found = false;