/* A general interface to the widgets of different toolkits.
Copyright (C) 1992, 1993 Lucid, Inc.
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2003, 2004,
- 2005, 2006, 2007 Free Software Foundation, Inc.
+ 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of the Lucid Widget Library.
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
-#ifdef NeXT
-#undef __STRICT_BSD__ /* ick */
-#endif
-
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
safe_free_str (s)
char *s;
{
- if (s) free (s);
+ free (s);
}
static widget_value *widget_value_free_list = 0;
if (!wv)
return;
- if (wv->name) free (wv->name);
- if (wv->value) free (wv->value);
- if (wv->key) free (wv->key);
+ free (wv->name);
+ free (wv->value);
+ free (wv->key);
wv->name = wv->value = wv->key = (char *) 0xDEADBEEF;