diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-01-19 12:43:06 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-01-19 12:43:06 -0500 |
commit | b65f365474e6e861275cdab493fd1ad62b98933b (patch) | |
tree | cd399a6af24f7443f7c1cb3a86ad574d0eae16fb | |
parent | 40160ef0743ee52e84c944df608a925382353a8a (diff) | |
download | gem5-b65f365474e6e861275cdab493fd1ad62b98933b.tar.xz |
fix unserialization of PacketFifo
dev/pktfifo.cc:
fix unserialization. calling resize on a list just sticks
uninitialized garbage into the list.
--HG--
extra : convert_revision : 1cbff596dd0b88560e23b9368ec75a7369beb9d9
-rw-r--r-- | dev/pktfifo.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/dev/pktfifo.cc b/dev/pktfifo.cc index ae82123cf..79a96cc1d 100644 --- a/dev/pktfifo.cc +++ b/dev/pktfifo.cc @@ -60,7 +60,6 @@ PacketFifo::unserialize(const string &base, Checkpoint *cp, paramIn(cp, section, base + ".packets", fifosize); fifo.clear(); - fifo.resize(fifosize); for (int i = 0; i < fifosize; ++i) { PacketPtr p = new PacketData(16384); |