Fix memory leak in LineListIndex class [found by tsdgeos]

Review Request #101935 - Created July 12, 2011 and submitted

Information
Rafal Kulaga
kstars
master
Reviewers
kstars
asimha, vcarbune
The uploaded diff fixes memory leak in LineListIndex, which was found by tsdgeos. Although it's not very serious (LineListIndex subclasses are rarely deleted during KStars execution, e.g. when user enables and disables Star Catalogs tickbox in KStars Options window -> Catalogs page in which case ConstellationLines class instance is destroyed, which is a subclass of LineListIndex) it should be removed.
Tested, works fine.
Victor Carbune

   
Loading...