aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/graph/view2D/graph2d.c2
2 files changed, 6 insertions, 1 deletions
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 {
}