summaryrefslogtreecommitdiff
path: root/xserver/hw/xquartz/xpr/x-list.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-07-27 19:02:39 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-07-27 19:02:39 +0000
commit269d40cbcc43b41f621ca6d91c182952f60ec48e (patch)
tree872f2fddd3f2207e57a28595e73886713ce4a77a /xserver/hw/xquartz/xpr/x-list.c
parent917a2249b787451cad3f9697872aeccfd0da3324 (diff)
Update to xserver 1.8. Tested by many. Ok oga@, todd@.
Diffstat (limited to 'xserver/hw/xquartz/xpr/x-list.c')
-rw-r--r--xserver/hw/xquartz/xpr/x-list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xserver/hw/xquartz/xpr/x-list.c b/xserver/hw/xquartz/xpr/x-list.c
index 3596dd355..77c9309aa 100644
--- a/xserver/hw/xquartz/xpr/x-list.c
+++ b/xserver/hw/xquartz/xpr/x-list.c
@@ -97,6 +97,7 @@ X_PFX (list_prepend) (x_list *lst, void *data)
int i;
b = malloc (sizeof (x_list_block));
+ assert(b != NULL);
for (i = 0; i < NODES_PER_BLOCK - 1; i++)
b->l[i].next = &(b->l[i+1]);