From 4a914e1f02d9ccb70858031f89e11ad480286413 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Sat, 3 Aug 2013 22:35:52 +0200 Subject: some code cleanup, trying to get it through cppcheck (bzr r12458) --- src/libcroco/cr-parser.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/libcroco/cr-parser.c') diff --git a/src/libcroco/cr-parser.c b/src/libcroco/cr-parser.c index a8e2de5a3..917c5cb60 100644 --- a/src/libcroco/cr-parser.c +++ b/src/libcroco/cr-parser.c @@ -4402,8 +4402,5 @@ cr_parser_destroy (CRParser * a_this) PRIVATE (a_this) = NULL; } - if (a_this) { - g_free (a_this); - a_this = NULL; /*useless. Just for the sake of coherence */ - } + g_free (a_this); } -- cgit v1.2.3