GUI: Do not leak memory on gui-icons.dat opening failure

This commit is contained in:
Eugene Sandulenko 2021-11-14 22:59:50 +01:00
parent f64a6d2c77
commit a965e01857
No known key found for this signature in database
GPG key ID: 014D387312D34F08

View file

@ -155,6 +155,7 @@ void GuiManager::initIconsSet() {
if (!dat) {
warning("GUI: Could not find '%s'", fname);
delete file;
return;
}