Skip to content

Commit

Permalink
fixup! libplugin: if DEVELOPER set, do memleak detection on shutdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Sep 5, 2021
1 parent b30560b commit a1dafe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/libplugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ static void ld_command_handle(struct plugin *plugin,
#if DEVELOPER
/* We subscribe them to this always */
if (is_shutdown)
plugin_exit(0);
plugin_exit(plugin, 0);
#endif

plugin_err(plugin, "Unregistered notification %.*s",
Expand Down

0 comments on commit a1dafe6

Please sign in to comment.