coverity#984440: Use after free
Change-Id: Ia6d62ce5421d51fe4fc0128f60e9b39ab736276b Reviewed-on: https://gerrit.libreoffice.org/2496 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
This commit is contained in:
parent
3cad6c806e
commit
7146eaf9b3
1 changed files with 1 additions and 2 deletions
|
@ -444,9 +444,8 @@ void XPlugin_Impl::modelChanged()
|
|||
|
||||
m_nProvidingState = PROVIDING_MODEL_UPDATE;
|
||||
|
||||
destroyInstance();
|
||||
|
||||
m_aDescription = fitDescription( getCreationURL() );
|
||||
destroyInstance();
|
||||
if( m_aDescription.Mimetype.isEmpty() )
|
||||
{
|
||||
m_nProvidingState = PROVIDING_NONE;
|
||||
|
|
Loading…
Reference in a new issue