[gegl] operations/transform/transform-core: Remove redundant check



commit 5cde5d7107492906442530a6aba4a64fb8f6faa1
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Nov 23 13:07:59 2015 +0100

    operations/transform/transform-core: Remove redundant check
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758534

 operations/transform/transform-core.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/operations/transform/transform-core.c b/operations/transform/transform-core.c
index 759b1f1..a3a823a 100644
--- a/operations/transform/transform-core.c
+++ b/operations/transform/transform-core.c
@@ -380,8 +380,7 @@ gegl_transform_is_intermediate_node (OpTransform *transform)
         }
     }
 
-  if (consumers)
-    g_free (consumers);
+  g_free (consumers);
 
   return is_intermediate;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]