projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7f442d
)
Fix memory allocation error in Port::memsetBlobFunctional.
author
Steve Reinhardt
<stever@eecs.umich.edu>
Thu, 2 Mar 2006 16:30:25 +0000
(11:30 -0500)
committer
Steve Reinhardt
<stever@eecs.umich.edu>
Thu, 2 Mar 2006 16:30:25 +0000
(11:30 -0500)
mem/port.cc:
Delete temp buffer for memset.
--HG--
extra : convert_revision :
d7e2868c173442ca904898633f7ea9fc5e612dd3
mem/port.cc
patch
|
blob
|
history
diff --git
a/mem/port.cc
b/mem/port.cc
index e080f8b81ff2034901546eef71883990286af023..75362b472ecc75c9cc756ece5f32eac6067e32fc 100644
(file)
--- a/
mem/port.cc
+++ b/
mem/port.cc
@@
-71,4
+71,6
@@
Port::memsetBlobFunctional(Addr addr, uint8_t val, int size)
memset(buf, val, size);
blobHelper(addr, buf, size, Write);
+
+ delete buf;
}