projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* hppa-dis.c (print_insn_hppa): Change condition args to use
[deliverable/binutils-gdb.git]
/
gdb
/
rdi-share
/
devsw.c
diff --git
a/gdb/rdi-share/devsw.c
b/gdb/rdi-share/devsw.c
index 590b81241e8dd07cb4f9c57bdd9d553a26e82748..7fa142b4722de36e07b9b65638e11b0aad62d8a9 100644
(file)
--- a/
gdb/rdi-share/devsw.c
+++ b/
gdb/rdi-share/devsw.c
@@
-265,6
+265,10
@@
AdpErrs DevSW_Close(const DeviceDescr *device, const DevChanID type)
pk = Adp_removeFromQueue(&(ds->ds_readqueue[type])))
DevSW_FreePacket(pk);
+ /* Free memory */
+ free ((char *) device->SwitcherState);
+ device->SwitcherState = 0x0;
+
/* that's all */
return adp_ok;
}
This page took
0.023132 seconds
and
4
git commands to generate.