mirror of https://github.com/mgba-emu/mgba.git
Feature: More warning burndown
This commit is contained in:
parent
e03e48f9c6
commit
977b184ecb
|
@ -260,8 +260,16 @@ bool NoIntroDBLoadClrMamePro(struct NoIntroDB* db, struct VFile* vf) {
|
|||
|
||||
free((void*) buffer.name);
|
||||
free((void*) buffer.romName);
|
||||
free((void*) dbType);
|
||||
free((void*) dbVersion);
|
||||
|
||||
if (dbType) {
|
||||
free(dbType);
|
||||
}
|
||||
if (dbVersion) {
|
||||
free(dbVersion);
|
||||
}
|
||||
if (fieldName) {
|
||||
free(fieldName);
|
||||
}
|
||||
|
||||
sqlite3_finalize(gamedbTable);
|
||||
sqlite3_finalize(gamedbDrop);
|
||||
|
|
|
@ -92,7 +92,7 @@ bool mUpdaterInit(struct mUpdaterContext* context, const char* manifest) {
|
|||
ConfigurationInit(&context->manifest);
|
||||
|
||||
struct VFile* vf = VFileFromConstMemory(manifest, strlen(manifest) + 1);
|
||||
bool success = vf && ConfigurationReadVFile(&context->manifest, vf);
|
||||
bool success = ConfigurationReadVFile(&context->manifest, vf);
|
||||
vf->close(vf);
|
||||
if (!success) {
|
||||
ConfigurationDeinit(&context->manifest);
|
||||
|
|
Loading…
Reference in New Issue