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;