aboutsummaryrefslogtreecommitdiff
path: root/src/graph/view2D/graph2d.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph/view2D/graph2d.c')
-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 {
}