ack! fix check of entries to use PL_DHASH_ENTRY_IS_FREE() from my previous checkin to prevent tree closure tomorrow!
git-svn-id: svn://10.0.0.236/trunk@124074 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -313,7 +313,7 @@ nsPersistentProperties::GetStringProperty(const nsAString& aKey, nsAString& aVal
|
||||
NS_STATIC_CAST(propertyTableEntry*,
|
||||
PL_DHashTableOperate(&mTable, flatKey.get(), PL_DHASH_LOOKUP));
|
||||
|
||||
if (!entry)
|
||||
if (PL_DHASH_ENTRY_IS_FREE(entry))
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
aValue = entry->mValue;
|
||||
|
||||
Reference in New Issue
Block a user