Don't add module symbols to global namespace
[babeltrace.git] / lib / plugin / plugin-so.c
index 44aa967ed603b18820456e263468004178c319c1..f8fb4df8d4d688f1790f01ad4ec862c707cd768d 100644 (file)
@@ -197,7 +197,7 @@ struct bt_plugin_so_shared_lib_handle *bt_plugin_so_shared_lib_handle_create(
                goto error;
        }
 
-       shared_lib_handle->module = g_module_open(path, 0);
+       shared_lib_handle->module = g_module_open(path, G_MODULE_BIND_LOCAL);
        if (!shared_lib_handle->module) {
                /*
                 * DEBUG-level logging because we're only _trying_ to
This page took 0.023354 seconds and 4 git commands to generate.