diff options
Diffstat (limited to 'generic/tkSquare.c')
-rw-r--r-- | generic/tkSquare.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkSquare.c b/generic/tkSquare.c index b459148..f115c93 100644 --- a/generic/tkSquare.c +++ b/generic/tkSquare.c @@ -397,7 +397,7 @@ SquareObjEventProc( } } else if (eventPtr->type == DestroyNotify) { if (squarePtr->tkwin != NULL) { - Tk_FreeConfigOptions((char *) squarePtr, squarePtr->optionTable, + Tk_FreeConfigOptions(squarePtr, squarePtr->optionTable, squarePtr->tkwin); if (squarePtr->gc != NULL) { Tk_FreeGC(squarePtr->display, squarePtr->gc); |