зеркало из https://github.com/mozilla/gecko-dev.git
Added missing Addref
This commit is contained in:
Родитель
61f5799369
Коммит
b2d25f32f5
|
@ -81,6 +81,7 @@ oeICalTodoImpl::oeICalTodoImpl()
|
|||
#endif
|
||||
|
||||
mEvent = new oeICalEventImpl();
|
||||
NS_ADDREF( mEvent );
|
||||
|
||||
/* member initializers and constructor code */
|
||||
nsresult rv;
|
||||
|
@ -104,7 +105,6 @@ oeICalTodoImpl::~oeICalTodoImpl()
|
|||
if( m_completed )
|
||||
m_completed->Release();
|
||||
mEvent->Release();
|
||||
mEvent = nsnull;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP oeICalTodoImpl::SetParent( oeIICal *calendar )
|
||||
|
|
Загрузка…
Ссылка в новой задаче