- fix memory leaks in error conditions in DoSource()
// Wipe erased entries
for (unsigned int I = 0; I < List.size();)
{
// Wipe erased entries
for (unsigned int I = 0; I < List.size();)
{
{
for (unsigned I = 0; I != J; I++)
ioprintf(cout,_("Fetch source %s\n"),Dsc[I].Package.c_str());
{
for (unsigned I = 0; I != J; I++)
ioprintf(cout,_("Fetch source %s\n"),Dsc[I].Package.c_str());
for (; I != Fetcher.UriEnd(); I++)
cout << '\'' << I->URI << "' " << flNotDir(I->Owner->DestFile) << ' ' <<
I->Owner->FileSize << ' ' << I->Owner->HashSum() << endl;
for (; I != Fetcher.UriEnd(); I++)
cout << '\'' << I->URI << "' " << flNotDir(I->Owner->DestFile) << ' ' <<
I->Owner->FileSize << ' ' << I->Owner->HashSum() << endl;
if (_config->FindB("APT::Get::Download-only",false) == true)
{
c1out << _("Download complete and in download only mode") << endl;
if (_config->FindB("APT::Get::Download-only",false) == true)
{
c1out << _("Download complete and in download only mode") << endl;
// Wait for the subprocess
int Status = 0;
while (waitpid(Process,&Status,0) != Process)
// Wait for the subprocess
int Status = 0;
while (waitpid(Process,&Status,0) != Process)
- fix error message construction in OpenLog()
* cmdline/apt-get.cc:
- add a --only-upgrade flag to install command (Closes: #572259)
- fix error message construction in OpenLog()
* cmdline/apt-get.cc:
- add a --only-upgrade flag to install command (Closes: #572259)
+ - fix memory leaks in error conditions in DoSource()
-- David Kalnischkies <kalnischkies@gmail.com> Fri, 19 Feb 2010 21:21:43 +0100
-- David Kalnischkies <kalnischkies@gmail.com> Fri, 19 Feb 2010 21:21:43 +0100