From 31f439760f6078f291186a99b66a04ea13cfe337 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 7 Sep 2021 13:36:06 +0930 Subject: [PATCH] libplugin: make leaks log at LOG_BROKEN so they break CI. Now we've fixed them, this makes sure CI notices if new leaks appear. Signed-off-by: Rusty Russell --- plugins/libplugin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/libplugin.c b/plugins/libplugin.c index c4a44b1fd..5a9fdda62 100644 --- a/plugins/libplugin.c +++ b/plugins/libplugin.c @@ -1185,8 +1185,7 @@ static void PRINTF_FMT(1,2) log_memleak(const char *fmt, ...) va_list ap; va_start(ap, fmt); - /* FIXME: This is LOG_DEBUG until we fix leaks! */ - plugin_logv(memleak_plugin, LOG_DBG, fmt, ap); + plugin_logv(memleak_plugin, LOG_BROKEN, fmt, ap); va_end(ap); }