Skip to content

Commit

Permalink
Merge pull request #1639 from lancs-gridpp/resize-for-shrink
Browse files Browse the repository at this point in the history
Vector cleared after use so it can be shrunk.
  • Loading branch information
abh3 committed Mar 16, 2022
2 parents 3a88ff2 + 1a87f30 commit ebf9de7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/XrdTpc/XrdTpcStream.hh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ private:
}
m_offset = -1;
m_size = 0;
m_buffer.clear();
return retval;
}

Expand Down

0 comments on commit ebf9de7

Please sign in to comment.