coverity: fix memory leak
Change-Id: I17a09015d98a98349571a35492d516724ae2daa9
This commit is contained in:
@@ -216,6 +216,7 @@ bool needSecurityRestrictions( void )
|
||||
oslSecurity aSecurity = osl_getCurrentSecurity();
|
||||
OUString aSystemUser;
|
||||
sal_Bool bRet = osl_getUserName( aSecurity, &aSystemUser.pData );
|
||||
osl_freeSecurityHandle(aSecurity);
|
||||
if( !bRet )
|
||||
{
|
||||
// No valid security! -> Secure mode!
|
||||
|
Reference in New Issue
Block a user