From: Ronnie Sahlberg Date: Wed, 15 Aug 2007 04:46:06 +0000 (+1000) Subject: add a comment that the talloc_free also removes the script from the tree X-Git-Tag: tevent-0.9.20~348^2~2441^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff58f7c7ea130e12a9347c06b5e7fe7c4747726f;p=thirdparty%2Fsamba.git add a comment that the talloc_free also removes the script from the tree (This used to be ctdb commit ce71f6e9cf983cc4fe66935ad6c18d55dfed03a5) --- diff --git a/ctdb/server/eventscript.c b/ctdb/server/eventscript.c index e103cfa803d..2cd2e66f341 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); }