[SCM] CTDB repository - branch master updated - ctdb-1.0.114-121-g2b3904d

Ronnie Sahlberg sahlberg at samba.org
Tue Jun 1 21:43:41 MDT 2010


The branch, master has been updated
       via  2b3904d3113737d57ac0ec78f33ad163ed7f623c (commit)
      from  1bdfe0cd3370a335b960ce1ef97eade93b0cd2fa (commit)

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


- Log -----------------------------------------------------------------
commit 2b3904d3113737d57ac0ec78f33ad163ed7f623c
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Wed Jun 2 13:42:03 2010 +1000

    Automatically free the request once the callback has returned.

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

Summary of changes:
 libctdb/ctdb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/libctdb/ctdb.c b/libctdb/ctdb.c
index c9adfda..08355ef 100644
--- a/libctdb/ctdb.c
+++ b/libctdb/ctdb.c
@@ -240,6 +240,7 @@ static void handle_incoming(struct ctdb_connection *ctdb, struct io_elem *in)
 			DLIST_REMOVE(ctdb->doneq, i);
 			i->reply = in;
 			i->callback(ctdb, i, i->priv_data);
+			ctdb_request_free(i);
 			return;
 		}
 	}


-- 
CTDB repository


More information about the samba-cvs mailing list