Ignore:
Timestamp:
Nov 12, 2012, 5:18:59 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: update branche to 3.5.14

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  
    170170                                              struct netlogon_creds_CredentialState **creds_out)
    171171{
    172         struct netlogon_creds_CredentialState *creds;
     172        struct netlogon_creds_CredentialState *creds = NULL;
    173173        NTSTATUS status;
    174174        int ret;
     
    194194                DEBUG(0,("schannel_creds_server_step_check_tdb: "
    195195                        "client %s not using schannel for netlogon, despite negotiating it\n",
    196                         creds->computer_name ));
     196                        computer_name));
     197                TALLOC_FREE(creds);
    197198                tdb_transaction_cancel(tdb);
    198199                return NT_STATUS_ACCESS_DENIED;
     
    212213                tdb_transaction_commit(tdb);
    213214                if (creds_out) {
    214                         *creds_out = creds;
    215                         talloc_steal(mem_ctx, creds);
     215                        *creds_out = talloc_move(mem_ctx, &creds);
    216216                }
    217217        } else {
     
    219219        }
    220220
     221        TALLOC_FREE(creds);
    221222        return status;
    222223}
  • branches/samba-3.5.x/libcli/cldap/cldap.c

    r414 r734  
    279279        status = map_nt_error_from_unix(in->recv_errno);
    280280nterror:
     281        TALLOC_FREE(in);
    281282        /* in connected mode the first pending search gets the error */
    282283        if (!c->connected) {
     
    289290        tevent_req_nterror(c->searches.list->req, status);
    290291done:
    291         talloc_free(in);
     292        TALLOC_FREE(in);
    292293}
    293294
Note: See TracChangeset for help on using the changeset viewer.