summaryrefslogtreecommitdiffstats
path: root/src/libcroco
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-08-03 20:27:27 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-08-03 20:27:27 +0000
commit00bcfb34fab1de3317781d0d639ef1bb54fb4f7e (patch)
treedcd4ab753b233eeab9c4f10301ec900555621e69 /src/libcroco
parentcleanup (diff)
downloadinkscape-00bcfb34fab1de3317781d0d639ef1bb54fb4f7e.tar.gz
inkscape-00bcfb34fab1de3317781d0d639ef1bb54fb4f7e.zip
fix bug
(bzr r12457)
Diffstat (limited to 'src/libcroco')
-rw-r--r--src/libcroco/cr-prop-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcroco/cr-prop-list.c b/src/libcroco/cr-prop-list.c
index 076837905..551f0b8ee 100644
--- a/src/libcroco/cr-prop-list.c
+++ b/src/libcroco/cr-prop-list.c
@@ -48,7 +48,7 @@ cr_prop_list_allocate (void)
}
memset (result, 0, sizeof (CRPropList));
PRIVATE (result) = (CRPropListPriv *)g_try_malloc (sizeof (CRPropListPriv));
- if (!result) {
+ if (!PRIVATE (result)) {
cr_utils_trace_info ("could not allocate CRPropListPriv");
g_free (result);
return NULL;