PackageFile: correct inverted NULL check. Fixes #10817. CID 1211989.
This commit is contained in:
@@ -100,7 +100,7 @@ PackageFile::RevisionedNameThrows() const
|
||||
void
|
||||
PackageFile::LastReferenceReleased()
|
||||
{
|
||||
if (fOwner == NULL)
|
||||
if (fOwner != NULL)
|
||||
fOwner->RemovePackageFile(this);
|
||||
delete this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user