[gegl] seamless-close: Fix extra unref
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] seamless-close: Fix extra unref
- Date: Thu, 20 Mar 2014 09:22:15 +0000 (UTC)
commit 0c92e87f97bee0551950b06ab9da8009f345e46c
Author: awaw fumin <awawfumin gmail com>
Date: Wed Mar 19 01:13:47 2014 +0800
seamless-close: Fix extra unref
libs/poly2tri-c/poly2tri-c/refine/cluster.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libs/poly2tri-c/poly2tri-c/refine/cluster.c b/libs/poly2tri-c/poly2tri-c/refine/cluster.c
index ba04435..ccf9217 100644
--- a/libs/poly2tri-c/poly2tri-c/refine/cluster.c
+++ b/libs/poly2tri-c/poly2tri-c/refine/cluster.c
@@ -98,8 +98,8 @@ p2tr_cluster_get_for (P2trPoint *P,
p2tr_edge_unref (next);
current = p2tr_edge_ref (E);
- next = p2tr_point_edge_ccw(P, current);
- p2tr_edge_unref(next);
+ next = p2tr_point_edge_ccw (P, current);
+
while (next != g_queue_peek_tail (&cluster->edges)
&& (temp_angle = p2tr_edge_angle_between (current->mirror, next)) <= P2TR_CLUSTER_LIMIT_ANGLE
&& p2tr_cluster_cw_tri_between_is_in_domain (next, current))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]