OSDN Git Service
(root)
/
pf3gnuchains
/
sourceware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bd5084
)
* hostio.c (require_data): Free *data, not data.
author
uweigand
<uweigand>
Tue, 1 Mar 2011 00:55:07 +0000
(
00:55
+0000)
committer
uweigand
<uweigand>
Tue, 1 Mar 2011 00:55:07 +0000
(
00:55
+0000)
gdb/gdbserver/ChangeLog
patch
|
blob
|
history
gdb/gdbserver/hostio.c
patch
|
blob
|
history
diff --git
a/gdb/gdbserver/ChangeLog
b/gdb/gdbserver/ChangeLog
index
34d63ff
..
02b50a4
100644
(file)
--- a/
gdb/gdbserver/ChangeLog
+++ b/
gdb/gdbserver/ChangeLog
@@
-1,3
+1,7
@@
+2011-02-28 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * hostio.c (require_data): Free *data, not data.
+
2011-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* hostio.c (require_data): Use free, not xfree.
diff --git
a/gdb/gdbserver/hostio.c
b/gdb/gdbserver/hostio.c
index
fbd286f
..
3b65feb
100644
(file)
--- 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;
}