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 b043aad..01eeb26 100644 --- a/generic/tkCanvPoly.c +++ b/generic/tkCanvPoly.c @@ -1198,6 +1198,7 @@ PolygonDeleteCoords( polyPtr->numPoints = 0; if (polyPtr->coordPtr != NULL) { ckfree(polyPtr->coordPtr); + polyPtr->coordPtr = NULL; } ComputePolygonBbox(canvas, polyPtr); return; |