From 7010269f3bc74c764f5b4e9c72dd069ce34fb244 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo@altea>
Date: Wed, 18 May 2016 17:56:30 +0000
Subject: [PATCH] Fix in memory leak. There were also leaks in the old code probably.

---
 src/triangle.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/triangle.h b/src/triangle.h
index 5735581..dd5280e 100644
--- a/src/triangle.h
+++ b/src/triangle.h
@@ -1,3 +1,4 @@
+/* vim: set ts=4 sts=4 sw=4 noet : */
 #ifndef _TRIANGLE_H
 #define _TRIANGLE_H
 
@@ -5,7 +6,6 @@
 ts_triangle *triangle_add(ts_triangle_list *tlist, ts_vertex *vtx1, ts_vertex *vtx2, ts_vertex *vtx3);
 ts_bool triangle_add_neighbour(ts_triangle *tria, ts_triangle *ntria);
 ts_bool triangle_normal_vector(ts_triangle *tria);
-ts_bool triangle_data_free(ts_triangle_data *triang);
 ts_bool triangle_list_free(ts_triangle_list *tlist);
-
+ts_bool triangle_remove_neighbour(ts_triangle *tria, ts_triangle *ntria);
 #endif

--
Gitblit v1.9.3