X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/322b7dab59b98b5d8625d2cd29e48f1ce605f769..68f8f1c0c680494639b4396e242747e5103ae40d:/lwlib/lwlib-utils.c diff --git a/lwlib/lwlib-utils.c b/lwlib/lwlib-utils.c index 7a0dd1b264..65cda72fdd 100644 --- a/lwlib/lwlib-utils.c +++ b/lwlib/lwlib-utils.c @@ -1,7 +1,7 @@ /* Defines some widget utility functions. Copyright (C) 1992 Lucid, Inc. -Copyright (C) 1994, 2001-2011 Free Software Foundation, Inc. +Copyright (C) 1994, 2001-2012 Free Software Foundation, Inc. This file is part of the Lucid Widget Library. @@ -20,9 +20,7 @@ along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifdef HAVE_CONFIG_H #include -#endif #include #include @@ -80,7 +78,7 @@ XtApplyToWidgets (Widget w, XtApplyToWidgetsProc proc, XtPointer arg) XtApplyToWidgets (kids [i], proc, arg); proc (kids [i], arg); } - free (kids); + xfree (kids); } }