diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-08-15 20:19:30 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-08-15 20:19:30 +0000 |
commit | 039e9dc5e609f32b959b6120976e2c59534c659f (patch) | |
tree | 79b95c4a4adfaa7e1f439740af3560c792808eaf /source4/smbd/process.c | |
parent | dbe7b0c402f1d447c6eb4f7f35ad58d2fc2eae49 (diff) | |
download | samba-039e9dc5e609f32b959b6120976e2c59534c659f.tar.gz samba-039e9dc5e609f32b959b6120976e2c59534c659f.tar.bz2 samba-039e9dc5e609f32b959b6120976e2c59534c659f.zip |
- patch to fix a memory leak from metze
- fix a couple of unicode string errors for ascii clients found by
RAW- tests
(This used to be commit 81c941ba8ae33567d79b4bb0bb5928f5f6077b76)
Diffstat (limited to 'source4/smbd/process.c')
-rw-r--r-- | source4/smbd/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/process.c b/source4/smbd/process.c index a4e67c7ff1..cf357ef547 100644 --- a/source4/smbd/process.c +++ b/source4/smbd/process.c @@ -738,7 +738,7 @@ void init_smbsession(struct event_context *ev, struct model_ops *model_ops, int /* set an initial client name based on its IP address. This will be replaced with the netbios name later if it gives us one */ sub_set_remote_machine(strdup(get_socket_addr(smb->mem_ctx, fd))); - smb->socket.client_addr = talloc_strdup(smb->mem_ctx, get_socket_addr(smb->mem_ctx, fd)); + smb->socket.client_addr = get_socket_addr(smb->mem_ctx, fd); /* now initialise a few default values associated with this smb socket */ smb->negotiate.max_send = 0xFFFF; |