aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-10-05 06:01:27 +0000
committermarha <marha@users.sourceforge.net>2010-10-05 06:01:27 +0000
commitf07afca523ad174acd3c56fc43111a09b7a5243e (patch)
tree382a0fd5893fda6a557e876942c23e3517fdfea0 /xorg-server/hw
parentb65b8f8f5f9d2ffcf9dd6419f0c582d14986a9e0 (diff)
downloadvcxsrv-f07afca523ad174acd3c56fc43111a09b7a5243e.tar.gz
vcxsrv-f07afca523ad174acd3c56fc43111a09b7a5243e.tar.bz2
vcxsrv-f07afca523ad174acd3c56fc43111a09b7a5243e.zip
xserver pixman git update 5/10/2010
Diffstat (limited to 'xorg-server/hw')
-rw-r--r--xorg-server/hw/xfree86/loader/loader.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/hw/xfree86/loader/loader.c b/xorg-server/hw/xfree86/loader/loader.c
index 32c4431de..dce3b22f6 100644
--- a/xorg-server/hw/xfree86/loader/loader.c
+++ b/xorg-server/hw/xfree86/loader/loader.c
@@ -184,7 +184,8 @@ void
LoaderUnload(const char *name, void *handle)
{
xf86Msg(X_INFO, "Unloading %s\n", name);
- dlclose(handle);
+ if (handle)
+ dlclose(handle);
}
unsigned long LoaderOptions = 0;