The branch, v3-3-test has been updated
       via  8b908862ec7de000865cd8dfa691f5643cb3d099 (commit)
      from  f495968c88f07b74a943da9e034084b72f5a1c8b (commit)

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


- Log -----------------------------------------------------------------
commit 8b908862ec7de000865cd8dfa691f5643cb3d099
Author: Andrew Tridgell <[EMAIL PROTECTED]>
Date:   Mon Sep 29 12:04:57 2008 -0700

    fixed an (unlikely) memory leak

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

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


Changeset truncated at 500 lines:

diff --git a/source/lib/dbwrap_ctdb.c b/source/lib/dbwrap_ctdb.c
index e82e75d..1e3a97f 100644
--- a/source/lib/dbwrap_ctdb.c
+++ b/source/lib/dbwrap_ctdb.c
@@ -440,6 +440,7 @@ static struct db_record 
*db_ctdb_fetch_locked_persistent(struct db_ctdb_ctx *ctx
        recp = talloc(rec, struct db_record *);
        if (recp == NULL) {
                ctx->db->transaction_cancel(ctx->db);
+               talloc_free(rec);
                return NULL;
        }
        *recp = rec;


-- 
Samba Shared Repository

Reply via email to