projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Run --gc-sections tests only if supported.
[deliverable/binutils-gdb.git]
/
gdb
/
ser-unix.c
diff --git
a/gdb/ser-unix.c
b/gdb/ser-unix.c
index da3a4c30b61484d3d08fe509b1c17d7b8ec5d16d..c541452a8ccbde330cb1e6010ded857591e09821 100644
(file)
--- a/
gdb/ser-unix.c
+++ b/
gdb/ser-unix.c
@@
-183,7
+183,10
@@
hardwire_get_tty_state (struct serial *scb)
state = (struct hardwire_ttystate *) xmalloc (sizeof *state);
if (get_tty_state (scb, state))
- return NULL;
+ {
+ xfree (state);
+ return NULL;
+ }
return (serial_ttystate) state;
}
This page took
0.023152 seconds
and
4
git commands to generate.