Util: Fix leak in SfoWrite
This commit is contained in:
parent
7727b6434d
commit
7b0e400710
@ -162,6 +162,7 @@ bool SfoWrite(struct Table* sfo, struct VFile* vf) {
|
||||
sortedEntries[i].size = 4;
|
||||
break;
|
||||
default:
|
||||
free(sortedEntries);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user