projects
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60fc4f2
)
fix resource leak when verification fails
author
Michael Vogt
<mvo@debian.org>
Thu, 25 Jul 2013 18:45:53 +0000
(20:45 +0200)
committer
Michael Vogt
<mvo@debian.org>
Thu, 25 Jul 2013 18:45:53 +0000
(20:45 +0200)
apt-pkg/indexcopy.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/indexcopy.cc
b/apt-pkg/indexcopy.cc
index 4920efff866243689a284f91a912a07ea581477c..7694cb1dd44f78a9bd6c454e50d79f6ecddc84d6 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;
}