diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-10 23:40:50 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-11 09:02:18 +0200 |
commit | f0a27064869871806343648de3b5a0667118872f (patch) | |
tree | 45e340b6592d53b0646c00e329fbed7ae5ca3619 /source3 | |
parent | 200b0deaef4d399d321741ce76809beb628a5814 (diff) | |
download | samba-f0a27064869871806343648de3b5a0667118872f.tar.gz samba-f0a27064869871806343648de3b5a0667118872f.tar.bz2 samba-f0a27064869871806343648de3b5a0667118872f.zip |
Make use of talloc_tos()
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index 3dd8ec90ee..fd83f77725 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -274,7 +274,7 @@ bool store_pipe_opendb( smb_np_struct *p ) TDB_DATA data; bool ret = False; - if ( (prec = TALLOC_P( NULL, struct pipe_open_rec)) == NULL ) { + if ( (prec = TALLOC_P( talloc_tos(), struct pipe_open_rec)) == NULL ) { DEBUG(0,("store_pipe_opendb: talloc failed!\n")); return False; } @@ -309,7 +309,7 @@ bool delete_pipe_opendb( smb_np_struct *p ) TDB_DATA *key; bool ret = False; - if ( (prec = TALLOC_P( NULL, struct pipe_open_rec)) == NULL ) { + if ( (prec = TALLOC_P( talloc_tos(), struct pipe_open_rec)) == NULL ) { DEBUG(0,("store_pipe_opendb: talloc failed!\n")); return False; } |