Changeset 734 for branches/samba-3.5.x/libcli/auth
- Timestamp:
 - Nov 12, 2012, 5:18:59 PM (13 years ago)
 - File:
 - 
      
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
branches/samba-3.5.x/libcli/auth/schannel_state_tdb.c
r414 r734 170 170 struct netlogon_creds_CredentialState **creds_out) 171 171 { 172 struct netlogon_creds_CredentialState *creds ;172 struct netlogon_creds_CredentialState *creds = NULL; 173 173 NTSTATUS status; 174 174 int ret; … … 194 194 DEBUG(0,("schannel_creds_server_step_check_tdb: " 195 195 "client %s not using schannel for netlogon, despite negotiating it\n", 196 creds->computer_name )); 196 computer_name)); 197 TALLOC_FREE(creds); 197 198 tdb_transaction_cancel(tdb); 198 199 return NT_STATUS_ACCESS_DENIED; … … 212 213 tdb_transaction_commit(tdb); 213 214 if (creds_out) { 214 *creds_out = creds; 215 talloc_steal(mem_ctx, creds); 215 *creds_out = talloc_move(mem_ctx, &creds); 216 216 } 217 217 } else { … … 219 219 } 220 220 221 TALLOC_FREE(creds); 221 222 return status; 222 223 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  