[SPEC2DEF] Fix a memory leak.

This commit is contained in:
Timo Kreuzer
2026-06-19 19:27:29 +00:00
parent dea50f4746
commit 269b585eed
+1
View File
@@ -1467,6 +1467,7 @@ ApplyOrdinals(EXPORT* pexports, unsigned cExports)
if (used[pexports[i].nOrdinal] != 0)
{
fprintf(stderr, "Found duplicate ordinal: %u\n", pexports[i].nOrdinal);
free(used);
return -1;
}
used[pexports[i].nOrdinal] = 1;