mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-03 04:52:54 +00:00
Fix leak regression from yesterday: derived classes use NS_IMPL_RELEASE_INHERITED, which relies on destructor being virtual. r+sr=bzbarsky a=brendan b=283489
This commit is contained in:
parent
73f1747971
commit
50acbb058e
@ -56,6 +56,7 @@ class NS_COM nsHashPropertyBag : public nsIWritablePropertyBag
|
||||
{
|
||||
public:
|
||||
nsHashPropertyBag() { }
|
||||
virtual ~nsHashPropertyBag() {}
|
||||
|
||||
nsresult Init();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user