[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lwlib/lwlib.c,v
From: |
Jim Meyering |
Subject: |
[Emacs-diffs] Changes to emacs/lwlib/lwlib.c,v |
Date: |
Mon, 02 Jun 2008 06:00:59 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Jim Meyering <meyering> 08/06/02 06:00:54
Index: lwlib/lwlib.c
===================================================================
RCS file: /cvsroot/emacs/emacs/lwlib/lwlib.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- lwlib/lwlib.c 8 Jan 2008 20:46:10 -0000 1.57
+++ lwlib/lwlib.c 2 Jun 2008 06:00:51 -0000 1.58
@@ -170,7 +170,7 @@
safe_free_str (s)
char *s;
{
- if (s) free (s);
+ free (s);
}
static widget_value *widget_value_free_list = 0;
@@ -226,9 +226,9 @@
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;
- [Emacs-diffs] Changes to emacs/lwlib/lwlib.c,v,
Jim Meyering <=