diff options
Diffstat (limited to 'generic/tkCanvPoly.c')
-rw-r--r-- | generic/tkCanvPoly.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tkCanvPoly.c b/generic/tkCanvPoly.c index 1e61367..92375b9 100644 --- a/generic/tkCanvPoly.c +++ b/generic/tkCanvPoly.c @@ -1200,6 +1200,7 @@ PolygonDeleteCoords( polyPtr->numPoints = 0; if (polyPtr->coordPtr != NULL) { ckfree((char *) polyPtr->coordPtr); + polyPtr->coordPtr = NULL; } ComputePolygonBbox(canvas, polyPtr); return; |