summaryrefslogtreecommitdiffstats
path: root/generic/tkPlace.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkPlace.c')
-rw-r--r--generic/tkPlace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkPlace.c b/generic/tkPlace.c
index 108097c..3c47476 100644
--- a/generic/tkPlace.c
+++ b/generic/tkPlace.c
@@ -426,7 +426,7 @@ static void
FreeContent(
Content *contentPtr)
{
- if (contentPtr->flags & PARENT_RECONFIG_PENDING) {
+ if (contentPtr->containerPtr && (contentPtr->containerPtr->flags & PARENT_RECONFIG_PENDING)) {
Tcl_CancelIdleCall(RecomputePlacement, contentPtr);
}
Tk_FreeConfigOptions((char *) contentPtr, contentPtr->optionTable,