unload xauth_module only if XAUTH_DEFAULT_LIB is defined
This commit is contained in:
@@ -61,6 +61,7 @@ xauth_init(void)
|
|||||||
void
|
void
|
||||||
xauth_finalize(void)
|
xauth_finalize(void)
|
||||||
{
|
{
|
||||||
|
#ifdef XAUTH_DEFAULT_LIB
|
||||||
if (xauth_module.handle != NULL)
|
if (xauth_module.handle != NULL)
|
||||||
{
|
{
|
||||||
if (dlclose(xauth_module.handle))
|
if (dlclose(xauth_module.handle))
|
||||||
@@ -74,4 +75,5 @@ xauth_finalize(void)
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user