projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb/
[binutils-gdb.git]
/
gdb
/
c-lang.c
diff --git
a/gdb/c-lang.c
b/gdb/c-lang.c
index 0c9e4f8059e9b2dddef0e7c6256e48fe04bece0e..e18f173ad1a49b492173b7efd9c097fcf7519ebd 100644
(file)
--- a/
gdb/c-lang.c
+++ b/
gdb/c-lang.c
@@
-657,7
+657,7
@@
c_get_string (struct value *value, gdb_byte **buffer, int *length,
buffer, length);
if (err)
{
buffer, length);
if (err)
{
- xfree (buffer);
+ xfree (
*
buffer);
error (_("Error reading string from inferior: %s"),
safe_strerror (err));
}
error (_("Error reading string from inferior: %s"),
safe_strerror (err));
}