diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2011-02-28 15:55:08 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2011-02-28 15:55:08 +0000 |
commit | 8040bd496a7b8f731ff684e6b2d3089473012f73 (patch) | |
tree | d7e97f45a808924731314aa823f3ed0d1a13ee98 /gdb/gdbserver/hostio.c | |
parent | 66b3e8dabc2c61facd835c97aa64dccde687d85d (diff) | |
download | fsf-binutils-gdb-8040bd496a7b8f731ff684e6b2d3089473012f73.zip fsf-binutils-gdb-8040bd496a7b8f731ff684e6b2d3089473012f73.tar.gz fsf-binutils-gdb-8040bd496a7b8f731ff684e6b2d3089473012f73.tar.bz2 |
* hostio.c (require_data): Free *data, not data.
Diffstat (limited to 'gdb/gdbserver/hostio.c')
-rw-r--r-- | gdb/gdbserver/hostio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/hostio.c b/gdb/gdbserver/hostio.c index fbd286f..3b65feb 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) { - free (data); + free (*data); return -1; } |