Util: Fix leak in SfoWrite

This commit is contained in:
Vicki Pfau 2024-01-30 02:36:32 -08:00
parent 7727b6434d
commit 7b0e400710
1 changed files with 1 additions and 0 deletions

View File

@ -162,6 +162,7 @@ bool SfoWrite(struct Table* sfo, struct VFile* vf) {
sortedEntries[i].size = 4;
break;
default:
free(sortedEntries);
return false;
}
}