AboutSystem: Fix leak of package credits.
This commit is contained in:
@@ -592,6 +592,12 @@ AboutView::AboutView()
|
||||
|
||||
AboutView::~AboutView()
|
||||
{
|
||||
for (PackageCreditMap::iterator it = fPackageCredits.begin();
|
||||
it != fPackageCredits.end(); it++) {
|
||||
|
||||
delete it->second;
|
||||
}
|
||||
|
||||
delete fScrollRunner;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user