PackageFile: correct inverted NULL check. Fixes #10817. CID 1211989.

This commit is contained in:
Jessica Hamilton
2014-05-10 11:06:28 +12:00
parent 0584f69356
commit 4d4fc432b2
+1 -1
View File
@@ -100,7 +100,7 @@ PackageFile::RevisionedNameThrows() const
void
PackageFile::LastReferenceReleased()
{
if (fOwner == NULL)
if (fOwner != NULL)
fOwner->RemovePackageFile(this);
delete this;
}