2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

Zero out group_plugin on unload just to be safe.

This commit is contained in:
Todd C. Miller
2010-11-08 17:48:05 -05:00
parent da35e5f42f
commit 452d8765b2

View File

@@ -159,6 +159,7 @@ done:
if (group_handle != NULL) {
dlclose(group_handle);
group_handle = NULL;
group_plugin = NULL;
}
}
@@ -171,6 +172,7 @@ group_plugin_unload(void)
(group_plugin->cleanup)();
dlclose(group_handle);
group_handle = NULL;
group_plugin = NULL;
}
int