[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lib-src/ebrowse.c,v
From: |
Jim Meyering |
Subject: |
[Emacs-diffs] Changes to emacs/lib-src/ebrowse.c,v |
Date: |
Mon, 02 Jun 2008 06:02:31 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Jim Meyering <meyering> 08/06/02 06:02:30
Index: ebrowse.c
===================================================================
RCS file: /cvsroot/emacs/emacs/lib-src/ebrowse.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -b -r1.48 -r1.49
--- ebrowse.c 2 Jun 2008 06:00:50 -0000 1.48
+++ ebrowse.c 2 Jun 2008 06:02:30 -0000 1.49
@@ -589,16 +589,6 @@
}
-/* Like free but always check for null pointers.. */
-
-void
-xfree (p)
- void *p;
-{
- free (p);
-}
-
-
/* Like strdup, but print an error and exit if not enough memory is
available.. If S is null, return null. */
@@ -2758,7 +2748,7 @@
if (LOOKING_AT ('{') && id && cls)
add_member_defn (cls, id, regexp, pos, hash, 0, sc, flags);
- xfree (id);
+ free (id);
id = NULL;
sc = SC_MEMBER;
break;
@@ -2837,7 +2827,7 @@
print_info ();
}
- xfree (id);
+ free (id);
}
@@ -3074,7 +3064,7 @@
cls = add_sym (id, cls);
*last_id = NULL;
- xfree (id);
+ free (id);
id = NULL;
id_size = 0;
MATCH ();
@@ -3277,7 +3267,7 @@
print_info ();
}
- xfree (*id);
+ free (*id);
*id = NULL;
*cls = NULL;
}
@@ -3330,7 +3320,7 @@
`declare (X, Y)\n class A : ...'. */
if (id)
{
- xfree (id);
+ free (id);
return;
}
@@ -3424,7 +3414,7 @@
if (!cls && id && LOOKING_AT ('{'))
add_global_defn (id, regexp, pos, hash, 0, sc, flags);
- xfree (id);
+ free (id);
id = NULL;
break;
}
@@ -3480,7 +3470,7 @@
MATCH_IF ('}');
}
- xfree (namespace_name);
+ free (namespace_name);
}
}
break;