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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2021-09-07 13:36:06 +09:30 committed by Christian Decker
parent 14002915a1
commit 31f439760f

View File

@ -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);
}