SAFE_FREE(client);
data_blob_free(&ap_rep);
data_blob_free(&session_key);
- talloc_destroy(mem_ctx);
+ TALLOC_FREE(mem_ctx);
+ TALLOC_FREE(pw);
return ERROR_NT(nt_status_squash(ret));
}
SAFE_FREE(client);
data_blob_free(&ap_rep);
data_blob_free(&session_key);
- talloc_destroy(mem_ctx);
+ TALLOC_FREE(mem_ctx);
+ TALLOC_FREE(pw);
return ERROR_NT(nt_status_squash(ret));
}
SAFE_FREE(client);
data_blob_free(&ap_rep);
data_blob_free(&session_key);
+ TALLOC_FREE(pw);
TALLOC_FREE( mem_ctx );
TALLOC_FREE( server_info );
return ERROR_NT(nt_status_squash(ret));
data_blob_free(&ap_rep);
data_blob_free(&ap_rep_wrapped);
data_blob_free(&response);
- talloc_destroy(mem_ctx);
+ TALLOC_FREE(mem_ctx);
+ TALLOC_FREE(pw);
return -1; /* already replied */
}