This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] free->xfree in gdb-events.sh
- To: <gdb-patches at sources dot redhat dot com>
- Subject: [PATCH] free->xfree in gdb-events.sh
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Wed, 6 Jun 2001 07:36:00 -0700 (PDT)
Hi,
I've committed the following patch (as obvious):
ChangeLog
2001-06-06 Keith Seitz <keiths@redhat.com>
* gdb-events.sh: Update copyrights.
Change free to xfree.
* gdb-events.c: Regenerated.
* gdb-events.h: Regenerated.
Patch
Index: gdb-events.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdb-events.sh,v
retrieving revision 1.5
diff -u -p -r1.5 gdb-events.sh
--- gdb-events.sh 2001/03/06 08:21:07 1.5
+++ gdb-events.sh 2001/06/06 14:35:54
@@ -1,7 +1,7 @@
#!/bin/sh
# User Interface Events.
-# Copyright 1999, 2000 Free Software Foundation, Inc.
+# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
#
# Contributed by Cygnus Solutions.
#
@@ -109,7 +109,7 @@ copyright ()
{
cat <<EOF
/* User Interface Events.
- Copyright 1999 Free Software Foundation, Inc.
+ Copyright 1999, 2001 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
@@ -488,7 +488,7 @@ gdb_events_deliver (struct gdb_events *v
{
struct event *event = delivering_events;
delivering_events = event->next;
- free (event);
+ xfree (event);
}
/* Process any pending events. Because one of the deliveries could
bail out we move everything off of the pending queue onto an
@@ -523,7 +523,7 @@ done
cat <<EOF
}
delivering_events = event->next;
- free (event);
+ xfree (event);
}
}
EOF