* inferiors.c (remove_process): Fix memory leak, free process.
authorDoug Evans <dje@google.com>
Thu, 30 Apr 2009 18:35:55 +0000 (18:35 +0000)
committerDoug Evans <dje@google.com>
Thu, 30 Apr 2009 18:35:55 +0000 (18:35 +0000)
commit5091eb23aa99df6443dc559d2da403ba7a24c406
tree8c1a8e6b588ce9b02f7b13f7e841976a9866fb3a
parentdc621c3587c3f7d6e628812c86dd63c49a34ac72
* inferiors.c (remove_process): Fix memory leak, free process.
* linux-low.c (linux_remove_process): New function.
(linux_kill): Call it instead of remove_process.
(linux_detach, linux_wait_1): Ditto.
gdb/gdbserver/ChangeLog
gdb/gdbserver/inferiors.c
gdb/gdbserver/linux-low.c