From f10b268d52af4815c6a169e8301a7f06876588a6 Mon Sep 17 00:00:00 2001 From: "ramiro%netscape.com" Date: Mon, 17 Aug 1998 00:12:39 +0000 Subject: [PATCH] chilren was being freed twice - what a dumbass error. Thanks to Matti Aarnio for pointing this out. --- cmd/xfe/XfeWidgets/Xfe/ShellUtil.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/cmd/xfe/XfeWidgets/Xfe/ShellUtil.c b/cmd/xfe/XfeWidgets/Xfe/ShellUtil.c index 00db5991660f..0b4e2bc71555 100644 --- a/cmd/xfe/XfeWidgets/Xfe/ShellUtil.c +++ b/cmd/xfe/XfeWidgets/Xfe/ShellUtil.c @@ -152,13 +152,10 @@ XfeShellGetDecorationOffset(Widget shell, if (children) { XFree(children); + + children = NULL; } - if (children) - { - XFree(children); - } - if (parent != None) { int px;