Fix memory leak introduced in texture compression merge
One more main→pkg change.
Changelog update.