[SCM] Samba Shared Repository - branch master updated

Stefan Metzmacher metze at samba.org
Fri Sep 21 14:37:02 MDT 2012


The branch, master has been updated
       via  7a493fd s3:smbd: release the share mode lock before calling exit_server() (bug #9191)
      from  bfafb0c s3:dbwrap_ctdb: set errno = ENOSYS if clustering is not supported

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


- Log -----------------------------------------------------------------
commit 7a493fd867b95a7901c5f2b0c77cfb1c4496fbef
Author: Stefan Metzmacher <metze at samba.org>
Date:   Fri Sep 21 20:36:16 2012 +0200

    s3:smbd: release the share mode lock before calling exit_server() (bug #9191)
    
    metze
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Fri Sep 21 22:36:57 CEST 2012 on sn-devel-104

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index b67c045..a06a9f2 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1464,6 +1464,7 @@ static void defer_open(struct share_mode_lock *lck,
 				DEBUG(0, ("Trying to defer an already deferred "
 					"request: mid=%llu, exiting\n",
 					(unsigned long long)req->mid));
+				TALLOC_FREE(lck);
 				exit_server("attempt to defer a deferred request");
 			}
 		}
@@ -1479,6 +1480,7 @@ static void defer_open(struct share_mode_lock *lck,
 
 	if (!push_deferred_open_message_smb(req, request_time, timeout,
 				       state->id, (char *)state, sizeof(*state))) {
+		TALLOC_FREE(lck);
 		exit_server("push_deferred_open_message_smb failed");
 	}
 	if (lck) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list