From c8f4d31b687a5168a1cc1c8917f11207e37c8dfb Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 3 Sep 2021 12:32:05 +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 87c1ec2f7533..a815d907333d 100644 --- a/plugins/libplugin.c +++ b/plugins/libplugin.c @@ -1182,8 +1182,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_DEBUG, fmt, ap); + plugin_logv(memleak_plugin, LOG_BROKEN, fmt, ap); va_end(ap); }