]> git.sur5r.net Git - openocd/commit
TARGET: fix segfault in handle_dump_image_command()
authorAntonio Borneo <borneo.antonio@gmail.com>
Tue, 12 Oct 2010 08:08:35 +0000 (16:08 +0800)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 12 Oct 2010 09:22:26 +0000 (11:22 +0200)
commit2ee47b22c6228b80c5a8f1e74209cbf7ad53f775
tree70f2c6952b71907a95062bc6d25689c2e685e9ad
parente3773e3e3d1f1ee0dbb0b69e8babe8419784d1c1
TARGET: fix segfault in handle_dump_image_command()

The struct fileio is used after fileio_close().
Move fileio_close() after last usage.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/target.c