mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
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:
parent
14002915a1
commit
31f439760f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user