diff options
author | marha <marha@users.sourceforge.net> | 2010-01-14 10:44:09 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-01-14 10:44:09 +0000 |
commit | b152ebf4b66368e1cbfda1ae81cef29bf9c00bb7 (patch) | |
tree | ca2990ba0e447003b16ef239d3bdb30fdd8dc792 /xorg-server/hw/xquartz/xpr | |
parent | 13863345017a14a9dcce2ea5d3833eb74bb3760f (diff) | |
download | vcxsrv-b152ebf4b66368e1cbfda1ae81cef29bf9c00bb7.tar.gz vcxsrv-b152ebf4b66368e1cbfda1ae81cef29bf9c00bb7.tar.bz2 vcxsrv-b152ebf4b66368e1cbfda1ae81cef29bf9c00bb7.zip |
Git update 14/1/2010
Diffstat (limited to 'xorg-server/hw/xquartz/xpr')
-rw-r--r-- | xorg-server/hw/xquartz/xpr/x-hook.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xorg-server/hw/xquartz/xpr/x-hook.c b/xorg-server/hw/xquartz/xpr/x-hook.c index 03e7f8553..5b850fe88 100644 --- a/xorg-server/hw/xquartz/xpr/x-hook.c +++ b/xorg-server/hw/xquartz/xpr/x-hook.c @@ -79,6 +79,9 @@ X_PFX (hook_run) (x_list *lst, void *arg) void **data; int length, i; + if(!lst) + return; + length = X_PFX (list_length) (lst); fun = xalloc (sizeof (x_hook_function *) * length); data = xalloc (sizeof (void *) * length); |