fix possible segfault

Origin commit data
------------------
Branch: ni/coolstream
Commit: f2c20866af
Author: TangoCash <eric@loxat.de>
Date: 2018-09-01 (Sat, 01 Sep 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2018-09-01 14:34:24 +02:00
committed by vanhofen
parent de50857f11
commit f846eac33f

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
{