gegl r2808 - in trunk: . gegl/operation
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2808 - in trunk: . gegl/operation
- Date: Thu, 27 Nov 2008 22:01:14 +0000 (UTC)
Author: ok
Date: Thu Nov 27 22:01:14 2008
New Revision: 2808
URL: http://svn.gnome.org/viewvc/gegl?rev=2808&view=rev
Log:
* gegl/operation/gegl-operation-filter.c:
(gegl_operation_filter_process): only unref input buffer if there was
one.
Modified:
trunk/ChangeLog
trunk/gegl/operation/gegl-operation-filter.c
Modified: trunk/gegl/operation/gegl-operation-filter.c
==============================================================================
--- trunk/gegl/operation/gegl-operation-filter.c (original)
+++ trunk/gegl/operation/gegl-operation-filter.c Thu Nov 27 22:01:14 2008
@@ -204,11 +204,12 @@
input = gegl_operation_context_get_source (context, "input");
output = gegl_operation_context_get_target (context, "output");
- if (input != NULL || 1)
{
success = klass->process (operation, input, output, result);
- g_object_unref (input);
+ if (input != NULL)
+ g_object_unref (input);
}
+#if 0
else
{
/* if we have the data "graph" associated" we're a proxy-nop, and thus
@@ -219,6 +220,7 @@
gegl_node_get_debug_name (operation->node),
input==NULL?"input==NULL":"", output==NULL?"output==NULL":"");
}
+#endif
return success;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]