mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-24 05:20:30 +02:00
Fix sizeof() nitpick for goops corruption.
This commit is contained in:
parent
49f325df90
commit
2e503afaf7
1 changed files with 1 additions and 1 deletions
|
@ -1709,7 +1709,7 @@ go_to_hell (void *o)
|
|||
if (n_hell >= hell_size)
|
||||
{
|
||||
hell_size *= 2;
|
||||
hell = scm_realloc (hell, hell_size * sizeof(scm_t_bits));
|
||||
hell = scm_realloc (hell, hell_size * sizeof(*hell));
|
||||
}
|
||||
hell[n_hell++] = SCM_STRUCT_DATA (obj);
|
||||
scm_unlock_mutex (hell_mutex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue