Fix possible memory leaks

This commit is contained in:
Gary Talent 2017-06-25 06:14:12 -05:00
parent f245d7d31f
commit f200472c4f

View File

@ -52,12 +52,15 @@ int Project::openRomFs() {
if (m_fs) { if (m_fs) {
return 0; return 0;
} else { } else {
delete []buff;
return 1; return 1;
} }
} else { } else {
delete []buff;
return 2; return 2;
} }
} else { } else {
delete []buff;
return 3; return 3;
} }
} }