mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[SPEC2DEF] Fix a memory leak.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user