зеркало из https://github.com/mozilla/gecko-dev.git
Fixed memory leak in the case where a view already exists for a frame
This commit is contained in:
Родитель
1ba3030044
Коммит
847154c1e7
|
@ -124,6 +124,9 @@ nsHTMLBase::CreateViewForFrame(nsIPresContext* aPresContext,
|
|||
return result;
|
||||
}
|
||||
}
|
||||
else {
|
||||
NS_RELEASE(view);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче