CID#705646 leak on error path
Change-Id: I3b701f47bbd4141127e209673a4ce9335d68ca2a
This commit is contained in:
parent
20a48f8a68
commit
a29062a478
1 changed files with 1 additions and 2 deletions
|
@ -231,11 +231,10 @@ void SaneDlg::InitFields()
|
||||||
}
|
}
|
||||||
maReslBox.InsertValue( (long)pDouble[1] );
|
maReslBox.InsertValue( (long)pDouble[1] );
|
||||||
}
|
}
|
||||||
if( pDouble )
|
|
||||||
delete [] pDouble;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
maReslBox.Enable( sal_False );
|
maReslBox.Enable( sal_False );
|
||||||
|
delete [] pDouble;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue