diff options
| author | Julian Andres Klode <jak@debian.org> | 2026-05-01 16:27:19 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2026-05-01 16:27:19 +0000 |
| commit | 6a59fb95cf6fbe52c714e7f7caa3fc85bb919b07 (patch) | |
| tree | 467777a1a76219fe40e7dc247039773e24771951 /apt-pkg/indexcopy.cc | |
| parent | 8915e23a8f8c44bfba4dd42f77b9695120216820 (diff) | |
| parent | e79f9bb22375fd72330b534e17dcd3ceace432e8 (diff) | |
Merge branch 'fix-memleak' into 'main'
apt-pkg: methods: fixed many minor memleaks
See merge request apt-team/apt!568
Diffstat (limited to 'apt-pkg/indexcopy.cc')
| -rw-r--r-- | apt-pkg/indexcopy.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/indexcopy.cc b/apt-pkg/indexcopy.cc index 089bfd2ce..636393dd6 100644 --- a/apt-pkg/indexcopy.cc +++ b/apt-pkg/indexcopy.cc @@ -573,6 +573,7 @@ bool SigVerify::CopyAndVerify(string CDROM,string Name,vector<string> &SigList, pid_t pid = ExecFork(); if(pid < 0) { _error->Error("Fork failed"); + delete MetaIndex; return false; } if(pid == 0) |
