[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-5053-g96c57d2

Volker Lendecke vlendec at samba.org
Tue Mar 10 14:34:02 GMT 2009


The branch, v3-3-test has been updated
       via  96c57d26ed790b3e94c935cc4faf5661ea43a80c (commit)
      from  4624451b7b78695b3f84e7fff91018ee9df0e589 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 96c57d26ed790b3e94c935cc4faf5661ea43a80c
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Mar 10 15:39:42 2009 +0100

    Revert "Fix a valgrind error / segfault in dns_register_smbd()"
    
    This reverts commit e47d2091136c4d870bb91b8a84eb9f6fd78eb971.
    
    No idea why, but this causes timeouts in the build farm all over the place

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

Summary of changes:
 source/smbd/dnsregister.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/dnsregister.c b/source/smbd/dnsregister.c
index ff9be43..6850d1a 100644
--- a/source/smbd/dnsregister.c
+++ b/source/smbd/dnsregister.c
@@ -108,8 +108,7 @@ void dns_register_smbd(struct dns_reg_state ** dns_state_ptr,
 	struct dns_reg_state *dns_state = *dns_state_ptr;
 
 	if (dns_state == NULL) {
-		dns_state = talloc_zero(NULL, struct dns_reg_state);
-		*dns_state_ptr = dns_state;
+		*dns_state_ptr = dns_state = talloc(NULL, struct dns_reg_state);
 		if (dns_state == NULL) {
 			return;
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list