diff options
Diffstat (limited to 'src/util/support/plugins.c')
-rw-r--r-- | src/util/support/plugins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/support/plugins.c b/src/util/support/plugins.c index f457f35..ce65e1b 100644 --- a/src/util/support/plugins.c +++ b/src/util/support/plugins.c @@ -263,7 +263,7 @@ krb5int_open_plugin (const char *filepath, struct plugin_file_handle **h, struct #define PLUGIN_DLOPEN_FLAGS (RTLD_NOW | RTLD_LOCAL) #endif if (!err) { - handle = dlopen(filepath, PLUGIN_DLOPEN_FLAGS); + handle = dlopen(filepath, PLUGIN_DLOPEN_FLAGS | RTLD_NODELETE); if (handle == NULL) { const char *e = dlerror(); if (e == NULL) |