Changeset 734 for branches/samba-3.5.x/libcli
- Timestamp:
- Nov 12, 2012, 5:18:59 PM (13 years ago)
- Location:
- branches/samba-3.5.x/libcli
- Files:
-
- 2 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 } -
branches/samba-3.5.x/libcli/cldap/cldap.c
r414 r734 279 279 status = map_nt_error_from_unix(in->recv_errno); 280 280 nterror: 281 TALLOC_FREE(in); 281 282 /* in connected mode the first pending search gets the error */ 282 283 if (!c->connected) { … … 289 290 tevent_req_nterror(c->searches.list->req, status); 290 291 done: 291 talloc_free(in);292 TALLOC_FREE(in); 292 293 } 293 294
Note:
See TracChangeset
for help on using the changeset viewer.