Call plugin_cleanup(), not cleanup()

This commit is contained in:
Todd C. Miller
2010-11-12 13:02:15 -05:00
parent 8597c39194
commit 5536ea49f6
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}
}