From 1c193e02ec0d090eeae62f371b2942e74dab48b1 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:59:17 +0000 Subject: Fix small memory leak in the sourcelist Author: jgg Date: 2002-07-01 21:41:11 GMT Fix small memory leak in the sourcelist --- apt-pkg/sourcelist.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apt-pkg/sourcelist.h') diff --git a/apt-pkg/sourcelist.h b/apt-pkg/sourcelist.h index 8e0cb7aa3..307b12133 100644 --- a/apt-pkg/sourcelist.h +++ b/apt-pkg/sourcelist.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: sourcelist.h,v 1.11 2001/05/07 04:24:08 jgg Exp $ +// $Id: sourcelist.h,v 1.12 2002/07/01 21:41:11 jgg Exp $ /* ###################################################################### SourceList - Manage a list of sources @@ -106,7 +106,8 @@ class pkgSourceList bool GetIndexes(pkgAcquire *Owner) const; pkgSourceList(); - pkgSourceList(string File); + pkgSourceList(string File); + ~pkgSourceList(); }; #endif -- cgit v1.2.3