diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2013-08-03 20:27:27 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2013-08-03 20:27:27 +0000 |
| commit | 00bcfb34fab1de3317781d0d639ef1bb54fb4f7e (patch) | |
| tree | dcd4ab753b233eeab9c4f10301ec900555621e69 /src/libcroco | |
| parent | cleanup (diff) | |
| download | inkscape-00bcfb34fab1de3317781d0d639ef1bb54fb4f7e.tar.gz inkscape-00bcfb34fab1de3317781d0d639ef1bb54fb4f7e.zip | |
fix bug
(bzr r12457)
Diffstat (limited to 'src/libcroco')
| -rw-r--r-- | src/libcroco/cr-prop-list.c | 2 |
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; |
