From 982ce1524a328f9ff20d6b242b7735051cd318aa Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 12 Feb 2009 16:17:03 +0000 Subject: Er yeah, it probably helps to initialise your allocation function pointer. svn path=/trunk/libcss/; revision=6458 --- src/select/computed.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/select/computed.c b/src/select/computed.c index cb7e173..55036cf 100644 --- a/src/select/computed.c +++ b/src/select/computed.c @@ -35,6 +35,9 @@ css_error css_computed_style_create(css_alloc alloc, void *pw, memset(s, 0, sizeof(css_computed_style)); + s->alloc = alloc; + s->pw = pw; + *result = s; return CSS_OK; -- cgit v1.2.3