diff options
author | Jeremy Allison <jra@samba.org> | 2000-12-15 01:02:11 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-12-15 01:02:11 +0000 |
commit | 369f5fd1d7a6e6298bc3cbe01e3aaed0106f6cf4 (patch) | |
tree | e4237cf9927822e2b49faea870dd13012e5a5cb5 /source3/include | |
parent | 1fc3e43f9b9b431e8499d2ebd7f557b9bf2ff14c (diff) | |
download | samba-369f5fd1d7a6e6298bc3cbe01e3aaed0106f6cf4.tar.gz samba-369f5fd1d7a6e6298bc3cbe01e3aaed0106f6cf4.tar.bz2 samba-369f5fd1d7a6e6298bc3cbe01e3aaed0106f6cf4.zip |
Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. Merged
in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open
problem.
Jeremy.
(This used to be commit 0a40bc83e14c69a09948ec09bb6fc5026c4f4c14)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 9a81fa273d..8b4fcb173d 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -157,7 +157,7 @@ void message_dispatch(void); void message_register(int msg_type, void (*fn)(int msg_type, pid_t pid, void *buf, size_t len)); void message_deregister(int msg_type); -BOOL message_send_all(int msg_type, void *buf, size_t len, BOOL duplicates_allowed); +BOOL message_send_all(TDB_CONTEXT *conn_tdb, int msg_type, void *buf, size_t len, BOOL duplicates_allowed); /*The following definitions come from lib/ms_fnmatch.c */ @@ -2312,8 +2312,7 @@ BOOL lsa_io_r_lookup_sids(char *desc, LSA_R_LOOKUP_SIDS *r_s, prs_struct *ps, in void init_q_lookup_names(TALLOC_CTX *mem_ctx, LSA_Q_LOOKUP_NAMES *q_l, POLICY_HND *hnd, int num_names, char **names); BOOL lsa_io_q_lookup_names(char *desc, LSA_Q_LOOKUP_NAMES *q_r, prs_struct *ps, int depth); -BOOL lsa_io_r_lookup_names(TALLOC_CTX *mem_ctx, char *desc, - LSA_R_LOOKUP_NAMES *r_r, prs_struct *ps, int depth); +BOOL lsa_io_r_lookup_names(char *desc, LSA_R_LOOKUP_NAMES *r_r, prs_struct *ps, int depth); void init_lsa_q_close(LSA_Q_CLOSE *q_c, POLICY_HND *hnd); BOOL lsa_io_q_close(char *desc, LSA_Q_CLOSE *q_c, prs_struct *ps, int depth); BOOL lsa_io_r_close(char *desc, LSA_R_CLOSE *r_c, prs_struct *ps, int depth); @@ -3474,6 +3473,7 @@ void conn_free(connection_struct *conn); /*The following definitions come from smbd/connection.c */ +TDB_CONTEXT *conn_tdb_ctx(void); BOOL yield_connection(connection_struct *conn,char *name,int max_connections); BOOL claim_connection(connection_struct *conn,char *name,int max_connections,BOOL Clear); |