aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-10-17 16:20:16 +0000
committerdos-reis <gdr@axiomatics.org>2008-10-17 16:20:16 +0000
commit609d4bee769c002962f07d350a37990de05948fc (patch)
treecce5fa62c9aa5fb16dd56cdc6643859952504398 /src
parent1e9dafac508db133e011ba45b7c0b513ded2d40e (diff)
downloadopen-axiom-609d4bee769c002962f07d350a37990de05948fc.tar.gz
Fix AW/260
* graph/view2D/graph2d.c (freeGraph):
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 {
}