diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-02-28 04:20:30 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-02-28 04:20:30 +0000 |
commit | 7e52cbd0c66ef98b19be5b4da97b086bfcdb5df0 (patch) | |
tree | 0d43b99a1d78ec15fde4db5f2cc73b607c2dafb7 /gdb | |
parent | 5e30da2c3927f751dcef3291d8473d111252d1b4 (diff) | |
download | gdb-7e52cbd0c66ef98b19be5b4da97b086bfcdb5df0.zip gdb-7e52cbd0c66ef98b19be5b4da97b086bfcdb5df0.tar.gz gdb-7e52cbd0c66ef98b19be5b4da97b086bfcdb5df0.tar.bz2 |
gdb/gdbserver/
* hostio.c (require_data): Use free, not xfree.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/hostio.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 9149304..34d63ff 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2011-02-28 Jan Kratochvil <jan.kratochvil@redhat.com> + + * hostio.c (require_data): Use free, not xfree. + 2011-02-27 Michael Snyder <msnyder@vmware.com> * server.c (handle_query): Discard unused value. diff --git a/gdb/gdbserver/hostio.c b/gdb/gdbserver/hostio.c index df4cc78..fbd286f 100644 --- a/gdb/gdbserver/hostio.c +++ b/gdb/gdbserver/hostio.c @@ -135,7 +135,7 @@ require_data (char *p, int p_len, char **data, int *data_len) if (escaped) { - xfree (data); + free (data); return -1; } |