diff options
author | Michael Snyder <msnyder@vmware.com> | 2007-08-05 01:04:31 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2007-08-05 01:04:31 +0000 |
commit | 1ed489bd7c70382d83d3f8a4caf3abde9770f0e5 (patch) | |
tree | 480d85d39646e9217d289b58585c600e20671745 /gdb/remote-fileio.c | |
parent | c1f5197edc53855a9aa0250b2e20436549bab84a (diff) | |
download | gdb-1ed489bd7c70382d83d3f8a4caf3abde9770f0e5.zip gdb-1ed489bd7c70382d83d3f8a4caf3abde9770f0e5.tar.gz gdb-1ed489bd7c70382d83d3f8a4caf3abde9770f0e5.tar.bz2 |
2007-08-04 Michael Snyder <msnyder@access-company.com>
* remote-fileio.c (remote_fileio_func_write): Memory leak.
Diffstat (limited to 'gdb/remote-fileio.c')
-rw-r--r-- | gdb/remote-fileio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/remote-fileio.c b/gdb/remote-fileio.c index 93ad05c..42c915b 100644 --- a/gdb/remote-fileio.c +++ b/gdb/remote-fileio.c @@ -850,6 +850,7 @@ remote_fileio_func_write (char *buf) { case FIO_FD_CONSOLE_IN: remote_fileio_badfd (); + xfree (buffer); return; case FIO_FD_CONSOLE_OUT: ui_file_write (target_fd == 1 ? gdb_stdtarg : gdb_stdtargerr, |