diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-16 00:22:52 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-16 00:22:52 +0000 |
commit | 03803a9d792d613e60fcc0b5e810e68488e17b87 (patch) | |
tree | 3020eb3c157d8512b25f90616ffe3b75554f109d /src/server/httpd/terminal.tcl | |
parent | c7cfb3417b550fa7667d4ff682760743494e6a42 (diff) | |
download | openocd_libswd-03803a9d792d613e60fcc0b5e810e68488e17b87.tar.gz openocd_libswd-03803a9d792d613e60fcc0b5e810e68488e17b87.tar.bz2 openocd_libswd-03803a9d792d613e60fcc0b5e810e68488e17b87.tar.xz openocd_libswd-03803a9d792d613e60fcc0b5e810e68488e17b87.zip |
David Brownell <david-b@pacbell.net>:
Fix a memory leak in jtag_tap_free(): unregister the event
callback too.
Also fix the associated conceptual bug in unregistering JTAG
event callbacks: since the same callback procedure is used
many times with different callback data (a TAP handle), that
data must be considered when unregistering any callback.
This could fix some crashes after TAP registration errors,
by making sure the reset event handler doesn't scribble over
memory that's now used by something else.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2245 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server/httpd/terminal.tcl')
0 files changed, 0 insertions, 0 deletions