summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/ctdb_fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/tests/ctdb_fetch.c')
-rw-r--r--ctdb/tests/ctdb_fetch.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ctdb/tests/ctdb_fetch.c b/ctdb/tests/ctdb_fetch.c
index 91fff3825d..e084b1bad8 100644
--- a/ctdb/tests/ctdb_fetch.c
+++ b/ctdb/tests/ctdb_fetch.c
@@ -142,6 +142,10 @@ static void bench_fetch(struct ctdb_context *ctdb, struct event_context *ev)
printf("Event loop failed!\n");
break;
}
+
+ if (LogLevel > 9) {
+ talloc_report_null_full();
+ }
}
printf("Fetch: %.2f msgs/sec\n", msg_count/end_timer());
@@ -193,6 +197,8 @@ int main(int argc, const char *argv[])
}
}
+ /* talloc_enable_leak_report_full(); */
+
/* setup the remaining options for the main program to use */
extra_argv = poptGetArgs(pc);
if (extra_argv) {