From 431c18eae8d1d05e37be418e9a59cf0de19eec3a Mon Sep 17 00:00:00 2001 From: Barak Itkin Date: Sun, 27 May 2012 13:19:10 +0300 Subject: [PATCH] Add a missing call to free a pointer array in P2tSweepContext --- p2t/sweep/sweep_context.c | 1 + 1 file changed, 1 insertion(+) 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)) -- 2.50.1