queue.d: don't call _ecl_big_register_free for a normalized bignum
Fixes segmentation faults on windows when using semaphores.
This commit is contained in:
parent
db3079f8a0
commit
f18cbde8e7
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ elapsed_time(struct ecl_timeval *start)
|
|||
bignum_set_time(delta_big, &now);
|
||||
_ecl_big_sub(delta_big, delta_big, aux_big);
|
||||
_ecl_big_register_free(aux_big);
|
||||
return _ecl_big_register_normalize(delta_big);
|
||||
return delta_big;
|
||||
}
|
||||
|
||||
static double
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue