diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2016-11-03 17:42:32 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2016-11-03 17:42:32 +0000 |
commit | 0349f26226d07da6d592005476be702a77894b1b (patch) | |
tree | 371486f5aa6edb5523cbf4c956264d5d0a95fd19 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 5589aa60c76a0718bd3f6dd99a93c2991942ca91 (diff) | |
download | llvm-0349f26226d07da6d592005476be702a77894b1b.zip llvm-0349f26226d07da6d592005476be702a77894b1b.tar.gz llvm-0349f26226d07da6d592005476be702a77894b1b.tar.bz2 |
Using release to free memory is at best confusing -- one would expect
that its result is in fact used. Instead, use reset.
This was pointed out by PVS-Studio.
llvm-svn: 285946
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions