summaryrefslogtreecommitdiffstats
path: root/ctdb/server/eventscript.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@ronnie>2007-08-15 14:46:06 +1000
committerRonnie Sahlberg <sahlberg@ronnie>2007-08-15 14:46:06 +1000
commitff58f7c7ea130e12a9347c06b5e7fe7c4747726f (patch)
tree0c6e21a6ca0f4ba3951870a9ef574413f566f2e3 /ctdb/server/eventscript.c
parent4023576e504c327c84fb6b1e6250937184cafc9e (diff)
downloadsamba-ff58f7c7ea130e12a9347c06b5e7fe7c4747726f.tar.gz
samba-ff58f7c7ea130e12a9347c06b5e7fe7c4747726f.tar.xz
samba-ff58f7c7ea130e12a9347c06b5e7fe7c4747726f.zip
add a comment that the talloc_free also removes the script from the tree
(This used to be ctdb commit ce71f6e9cf983cc4fe66935ad6c18d55dfed03a5)
Diffstat (limited to 'ctdb/server/eventscript.c')
-rw-r--r--ctdb/server/eventscript.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/server/eventscript.c b/ctdb/server/eventscript.c
index e103cfa803..2cd2e66f34 100644
--- a/ctdb/server/eventscript.c
+++ b/ctdb/server/eventscript.c
@@ -167,6 +167,7 @@ static int ctdb_event_script_v(struct ctdb_context *ctdb, const char *fmt, va_li
return ret;
}
+ /* remove this script from the tree */
talloc_free(script);
}