Plug file pointer leak, spotted by cppcheck.
This commit is contained in:
parent
9ade0bd991
commit
7a6c1e5fd7
|
@ -728,6 +728,7 @@ bool BackupDevice::load_no_gba(const char *fname)
|
|||
if (out_buf) delete [] out_buf;
|
||||
}
|
||||
if (in_buf) delete [] in_buf;
|
||||
fclose(fsrc);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue