mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-26 02:02:33 +00:00
null out related links item.
This commit is contained in:
parent
c7265362fc
commit
2c3b709bf3
@ -379,8 +379,10 @@ DocObserver::LoadURL(const nsString& aURLSpec,
|
||||
{
|
||||
mURL = aURLSpec;
|
||||
for (int i = 0; i < MAX_RL; i++) {
|
||||
if (gRLList[i])
|
||||
if (gRLList[i]) {
|
||||
PL_strfree(gRLList[i]);
|
||||
gRLList[i] = 0;
|
||||
}
|
||||
}
|
||||
gRLPos = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user