From 609d4bee769c002962f07d350a37990de05948fc Mon Sep 17 00:00:00 2001
From: dos-reis <gdr@axiomatics.org>
Date: Fri, 17 Oct 2008 16:20:16 +0000
Subject: 	Fix AW/260 	* graph/view2D/graph2d.c (freeGraph):

---
 src/ChangeLog              | 5 +++++
 src/graph/view2D/graph2d.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/ChangeLog b/src/ChangeLog
index 7fb4f325..517d9141 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-17  Gregory Vanuxem  <g.vanuxem@wanadoo.fr>
+
+	Fix AW/260
+	* graph/view2D/graph2d.c (freeGraph): 
+
 2008-10-16  Gabriel Dos Reis  <gdr@cs.tamu.edu>
 
 	* interp/scan.boot (scanKeyWords): `assume' is a keyword.
diff --git a/src/graph/view2D/graph2d.c b/src/graph/view2D/graph2d.c
index 11f203b1..dadd4008 100644
--- a/src/graph/view2D/graph2d.c
+++ b/src/graph/view2D/graph2d.c
@@ -150,7 +150,7 @@ freeGraph(int i)
     for (j=0,llPtr=graphArray[i].listOfListsOfPoints; 
          j<graphArray[i].numberOfLists; j++,llPtr++) 
       free(llPtr->listOfPoints);
-    free(llPtr);
+    free(graphArray[i].listOfListsOfPoints);
     free(xPointsArray[i].xPoint);
   } else {
   }
-- 
cgit v1.2.3