On Sat, 10 Mar 2001, Raphael Bossek wrote: > while analysing the the latest CVS sources of APT for my project > I found a typo in apt-pkg/policy.cc that can lead to SEGV or at > least memory leaks. Here is a patch that fix it :
There are only 2 functional differences between SPtr and SPtrArray, 1) Array has the [] operator 2) Array calls delete [] On linux, neither of these differences will cause seg faults or memory leaks, but it still is a typo. Jason

