diff options
author | Jeremy Allison <jra@samba.org> | 2004-10-22 18:38:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:01 -0500 |
commit | 2d7cd5375e4e5ddd7ca9cb32f18358bf8ffd44a1 (patch) | |
tree | 0596d3911dcf30785302b33f4cdab9b6338ac914 | |
parent | ff5d4a7b4ddb2281d0f3d720428caf074ba14f32 (diff) | |
download | samba-2d7cd5375e4e5ddd7ca9cb32f18358bf8ffd44a1.tar.gz samba-2d7cd5375e4e5ddd7ca9cb32f18358bf8ffd44a1.tar.bz2 samba-2d7cd5375e4e5ddd7ca9cb32f18358bf8ffd44a1.zip |
r3138: Fix from Sorin Manolache <sorinm@gmail.com> for memory leak.
Jeremy.
(This used to be commit b35f48ad8ee63e44c70d0b198ccff39306ebdf74)
-rw-r--r-- | source3/libsmb/libsmbclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index 2c813a8481..2b0115eaaa 100644 --- a/source3/libsmb/libsmbclient.c +++ b/source3/libsmb/libsmbclient.c @@ -596,6 +596,7 @@ SMBCSRV *smbc_server(SMBCCTX *context, */ c.port = 445; if (!cli_connect(&c, server_n, &ip)) { + cli_shutdown(&c); errno = ENETUNREACH; return NULL; } |