mem: Fix use-after-free bug
authorMitch Hayenga <mitch.hayenga+gem5@gmail.com>
Tue, 8 Jan 2013 13:54:06 +0000 (08:54 -0500)
committerMitch Hayenga <mitch.hayenga+gem5@gmail.com>
Tue, 8 Jan 2013 13:54:06 +0000 (08:54 -0500)
commitdc4a0aa2fa1bc3767785b552159ab0ebe5baa72e
tree653944fd5d2938c2a0684a209a6a18534504d0d6
parent8480615d8d148ad81ac6242a96edf77293c93078
mem: Fix use-after-free bug

Running with valgrind I noticed a use after free originating from
simple_mem.cc.  It looks like this is a known issue and this additional call
site was missed in an earlier patch.
src/mem/simple_mem.cc