aboutsummaryrefslogtreecommitdiff
path: root/src/graph/view2D
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/graph/view2D
parent1e9dafac508db133e011ba45b7c0b513ded2d40e (diff)
downloadopen-axiom-609d4bee769c002962f07d350a37990de05948fc.tar.gz
Fix AW/260
* graph/view2D/graph2d.c (freeGraph):
Diffstat (limited to 'src/graph/view2D')
-rw-r--r--src/graph/view2D/graph2d.c2
1 files changed, 1 insertions, 1 deletions
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 {
}