fix possible segfault

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
TangoCash
2018-08-31 20:44:05 +02:00
committed by Thilo Graf
parent 8c145de053
commit 9675f6ed41

View File

@@ -986,7 +986,8 @@ void CPersonalizeGui::addPersonalizedItems()
}
}
delete fw;
if (fw)
delete fw;
}
else //handle and add separator as non personalized item and don't allow to add a separator as next but allow back button as next
{