The branch, status-test-2 has been updated
       via  50c2caed57c0520f506eaaeeb0bba2c272da6ef6 (commit)
      from  937823cc73eb098230acff4b1583f6d01f26c21a (commit)

http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=status-test-2


- Log -----------------------------------------------------------------
commit 50c2caed57c0520f506eaaeeb0bba2c272da6ef6
Author: Ronnie Sahlberg <ronniesahlb...@gmail.com>
Date:   Fri Nov 27 13:28:31 2009 +1100

    dont use talloc_steal() on a object that is already a child of ctdb.

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

Summary of changes:
 server/eventscript.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/server/eventscript.c b/server/eventscript.c
index 2c30cb2..2040253 100644
--- a/server/eventscript.c
+++ b/server/eventscript.c
@@ -241,7 +241,7 @@ int32_t ctdb_control_event_script_finished(struct 
ctdb_context *ctdb)
                talloc_free(ctdb->last_monitor_status_ctx);
                ctdb->last_monitor_status_ctx = NULL;
        }
-       ctdb->last_monitor_status_ctx = talloc_steal(ctdb, 
ctdb->current_monitor_status_ctx);
+       ctdb->last_monitor_status_ctx = ctdb->current_monitor_status_ctx);
        ctdb->current_monitor_status_ctx = NULL;
 
        return 0;


-- 
CTDB repository

Reply via email to