Call plugin_cleanup(), not cleanup()
This commit is contained in:
@@ -382,7 +382,7 @@ log_error(int flags, const char *fmt, ...)
|
||||
restore_perms();
|
||||
|
||||
if (!ISSET(flags, NO_EXIT)) {
|
||||
cleanup(0);
|
||||
plugin_cleanup(0);
|
||||
siglongjmp(error_jmp, 1);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user