null out related links item.

This commit is contained in:
jevering%netscape.com 1998-07-16 19:00:11 +00:00
parent c7265362fc
commit 2c3b709bf3

View File

@ -379,8 +379,10 @@ DocObserver::LoadURL(const nsString& aURLSpec,
{ {
mURL = aURLSpec; mURL = aURLSpec;
for (int i = 0; i < MAX_RL; i++) { for (int i = 0; i < MAX_RL; i++) {
if (gRLList[i]) if (gRLList[i]) {
PL_strfree(gRLList[i]); PL_strfree(gRLList[i]);
gRLList[i] = 0;
}
} }
gRLPos = 0; gRLPos = 0;