summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-02-12 16:17:03 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-02-12 16:17:03 +0000
commit982ce1524a328f9ff20d6b242b7735051cd318aa (patch)
tree736d321e34ece19e976a7bb145d05c7c53a73171
parent39b89ce07a47986e22228e6058f686a2615f3e8a (diff)
downloadlibcss-982ce1524a328f9ff20d6b242b7735051cd318aa.tar.gz
libcss-982ce1524a328f9ff20d6b242b7735051cd318aa.tar.bz2
Er yeah, it probably helps to initialise your allocation function pointer.
svn path=/trunk/libcss/; revision=6458
-rw-r--r--src/select/computed.c3
1 files changed, 3 insertions, 0 deletions
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;