[SCM] Samba Shared Repository - branch master updated

Michael Adam obnox at samba.org
Mon Nov 26 11:21:02 MST 2012


The branch, master has been updated
       via  994eec4 s3: Fix Coverity ID 741407 -- resource leak
      from  b11ba24 s3-rpc_client: try to use socket_addr if available in rpc_pipe_open_tcp() (bug #9426)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 994eec4d5861c0027b4f863baf095d95ce22c695
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Nov 25 10:19:23 2012 +0100

    s3: Fix Coverity ID 741407 -- resource leak
    
    Reviewed-by: Michael Adam <obnox at samba.org>
    
    Autobuild-User(master): Michael Adam <obnox at samba.org>
    Autobuild-Date(master): Mon Nov 26 19:20:05 CET 2012 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/lib/util_sock.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 7fcb9c4..2063a58 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -853,6 +853,7 @@ int open_udp_socket(const char *host, int port)
 	    salen = sizeof(struct sockaddr_in);
 	} else {
 		DEBUG(1, ("unknown socket family %d", ss.ss_family));
+		close(res);
 		return -1;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list