mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 01:41:13 +08:00
committed by
Thomas Faber
parent
4213c70e2e
commit
0b9cbc5179
@@ -76,7 +76,7 @@ _onexit_t CDECL _onexit(_onexit_t func)
|
||||
UNLOCK_EXIT;
|
||||
return NULL;
|
||||
}
|
||||
memcpy (newtable, atexit_table, atexit_table_size);
|
||||
memcpy (newtable, atexit_table, atexit_table_size*sizeof(_onexit_t));
|
||||
atexit_table_size += 32;
|
||||
free (atexit_table);
|
||||
atexit_table = newtable;
|
||||
|
||||
Reference in New Issue
Block a user