summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-08-03 20:14:26 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-08-03 20:14:26 +0000
commitde2fd07b4247cd8ee7d9d4f29bdbe73b8b959d9c (patch)
tree0a59968faaac0e24fb6fa04f46820c66b74b9eb0 /src
parentremove unused variable (diff)
downloadinkscape-de2fd07b4247cd8ee7d9d4f29bdbe73b8b959d9c.tar.gz
inkscape-de2fd07b4247cd8ee7d9d4f29bdbe73b8b959d9c.zip
function cleanup
(bzr r12455)
Diffstat (limited to 'src')
-rw-r--r--src/libcroco/cr-attr-sel.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libcroco/cr-attr-sel.c b/src/libcroco/cr-attr-sel.c
index 3c4800e66..0726f0f3e 100644
--- a/src/libcroco/cr-attr-sel.c
+++ b/src/libcroco/cr-attr-sel.c
@@ -208,8 +208,5 @@ cr_attr_sel_destroy (CRAttrSel * a_this)
a_this->next = NULL;
}
- if (a_this) {
- g_free (a_this);
- a_this = NULL;
- }
+ g_free (a_this);
}