HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix resource leak when verification fails
[ntk/apt.git]
/
apt-pkg
/
indexcopy.cc
diff --git
a/apt-pkg/indexcopy.cc
b/apt-pkg/indexcopy.cc
index
4920eff
..
7694cb1
100644
(file)
--- a/
apt-pkg/indexcopy.cc
+++ b/
apt-pkg/indexcopy.cc
@@
-601,6
+601,7
@@
bool SigVerify::CopyAndVerify(string CDROM,string Name,vector<string> &SigList,
(useInRelease ? inrelease.c_str() : releasegpg.c_str()));
// something went wrong, don't copy the Release.gpg
// FIXME: delete any existing gpg file?
+ delete MetaIndex;
continue;
}