summaryrefslogtreecommitdiffstats
path: root/src/libcroco
diff options
context:
space:
mode:
authorJosh Andler <scislac@gmail.com>2009-12-16 21:27:19 +0000
committerJosh Andler <scislac@gmail.com>2009-12-16 21:27:19 +0000
commit2e2d12079c6034d82a8d70db7e2c8a0f0199ff5f (patch)
treecffe6759e653c409ca2419e6405eb3e7616dfa85 /src/libcroco
parentEmbedimage extension fix and stderr Unicode support in inkex.py (diff)
downloadinkscape-2e2d12079c6034d82a8d70db7e2c8a0f0199ff5f.tar.gz
inkscape-2e2d12079c6034d82a8d70db7e2c8a0f0199ff5f.zip
Patches 3-11 from 488862 for a number of memleaks and allocation/deallocation issues.
(bzr r8891)
Diffstat (limited to 'src/libcroco')
-rw-r--r--src/libcroco/cr-cascade.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcroco/cr-cascade.c b/src/libcroco/cr-cascade.c
index f389fc746..7fef86c4a 100644
--- a/src/libcroco/cr-cascade.c
+++ b/src/libcroco/cr-cascade.c
@@ -70,6 +70,7 @@ cr_cascade_new (CRStyleSheet * a_author_sheet,
PRIVATE (result) = (CRCascadePriv *)g_try_malloc (sizeof (CRCascadePriv));
if (!PRIVATE (result)) {
+ g_free(result);
cr_utils_trace_info ("Out of memory");
return NULL;
}