mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Fix sizeof() nitpick for goops corruption.
This commit is contained in:
parent
5bfb683e12
commit
408bcd99d3
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