From: Barak Itkin Date: Sun, 27 May 2012 10:19:10 +0000 (+0300) Subject: Add a missing call to free a pointer array in P2tSweepContext X-Git-Tag: p2tc-0.1.0~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=431c18eae8d1d05e37be418e9a59cf0de19eec3a;p=poly2tri-c Add a missing call to free a pointer array in P2tSweepContext --- diff --git a/p2t/sweep/sweep_context.c b/p2t/sweep/sweep_context.c index 63b5618..213c58d 100755 --- a/p2t/sweep/sweep_context.c +++ b/p2t/sweep/sweep_context.c @@ -94,6 +94,7 @@ p2t_sweepcontext_destroy (P2tSweepContext* THIS) p2t_node_free (THIS->af_middle_); p2t_node_free (THIS->af_tail_); + g_ptr_array_free (THIS->points_, TRUE); g_ptr_array_free (THIS->triangles_, TRUE); for (iter = g_list_first (THIS->map_); iter != NULL; iter = g_list_next (iter))