X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fplugin%2Fplugin-so.c;h=11cea29da3c1f4e298c771acbc8dfa5748156d05;hb=3f3b176151b4163f9ae85bc583865850a18a6ce4;hp=b7acd815ae6dfb1286e97f8a93378e696e1b0b5f;hpb=5a2b64759d9af6c64f032f1a1f74e94a9a3e59d4;p=babeltrace.git diff --git a/src/lib/plugin/plugin-so.c b/src/lib/plugin/plugin-so.c index b7acd815..11cea29d 100644 --- a/src/lib/plugin/plugin-so.c +++ b/src/lib/plugin/plugin-so.c @@ -138,7 +138,7 @@ void bt_plugin_so_shared_lib_handle_destroy(struct bt_object *obj) } if (shared_lib_handle->module) { -#ifndef NDEBUG +#ifndef BT_DEBUG_MODE /* * Valgrind shows incomplete stack traces when * dynamically loaded libraries are closed before it @@ -157,7 +157,7 @@ void bt_plugin_so_shared_lib_handle_destroy(struct bt_object *obj) } shared_lib_handle->module = NULL; -#ifndef NDEBUG +#ifndef BT_DEBUG_MODE } else { BT_LOGI("Not closing GModule because `BABELTRACE_NO_DLCLOSE=1`: " "path=\"%s\"", path);