Skip to content

Commit

Permalink
libplugin: make leaks log at LOG_BROKEN so they break CI.
Browse files Browse the repository at this point in the history
Now we've fixed them, this makes sure CI notices if new leaks appear.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell committed Sep 3, 2021
1 parent da75ddf commit c8f4d31
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/libplugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit c8f4d31

Please sign in to comment.