fix possible segfault

Origin commit data
------------------
Commit: f2c20866af
Author: TangoCash <eric@loxat.de>
Date: 2018-09-01 (Sat, 01 Sep 2018)
This commit is contained in:
TangoCash
2018-09-01 14:34:24 +02:00
committed by vanhofen
parent 1b5f90384a
commit f4299251d5

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 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
{ {