Fixed memory leak.
--HG-- branch : develop
This commit is contained in:
parent
8f47af2c56
commit
2bd5a22218
|
@ -599,7 +599,10 @@ const VTranslateVars *VApplication::TrVars()
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VApplication::InitTrVars()
|
||||
{
|
||||
trVars = new VTranslateVars(ValentinaSettings()->GetOsSeparator());
|
||||
if (trVars == nullptr)
|
||||
{
|
||||
trVars = new VTranslateVars(ValentinaSettings()->GetOsSeparator());
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user