diff options
author | Steve Reinhardt <stever@gmail.com> | 2008-06-28 13:19:38 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@gmail.com> | 2008-06-28 13:19:38 -0400 |
commit | caaac16803db6eaf3ee20b5d062ec2211fe6584d (patch) | |
tree | d3664f74378429cc389c6e166aebaca7fbcd6963 /src/mem/cache/cache_impl.hh | |
parent | 6b45238316052f458ba9ebc9d24a91cfa9e41cf1 (diff) | |
download | gem5-caaac16803db6eaf3ee20b5d062ec2211fe6584d.tar.xz |
Backed out changeset 94a7bb476fca: caused memory leak.
Diffstat (limited to 'src/mem/cache/cache_impl.hh')
-rw-r--r-- | src/mem/cache/cache_impl.hh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index a3dae7b2a..3b56c0a2e 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -105,14 +105,13 @@ Cache<TagStore>::getPort(const std::string &if_name, int idx) } template<class TagStore> -bool -Cache<TagStore>::deletePort(Port *p) +void +Cache<TagStore>::deletePortRefs(Port *p) { if (cpuSidePort == p || memSidePort == p) panic("Can only delete functional ports\n"); delete p; - return true; } |