mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 08:04:26 +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:
committed by
Christian Decker
parent
14002915a1
commit
31f439760f
@@ -1185,8 +1185,7 @@ static void PRINTF_FMT(1,2) log_memleak(const char *fmt, ...)
|
|||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
/* FIXME: This is LOG_DEBUG until we fix leaks! */
|
plugin_logv(memleak_plugin, LOG_BROKEN, fmt, ap);
|
||||||
plugin_logv(memleak_plugin, LOG_DBG, fmt, ap);
|
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user