diff options
Diffstat (limited to 'src/ralloc.c')
-rw-r--r-- | src/ralloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ralloc.c b/src/ralloc.c index 0d8bcaf4ffb..c40258693f5 100644 --- a/src/ralloc.c +++ b/src/ralloc.c @@ -396,7 +396,7 @@ get_bloc (SIZE size) register bloc_ptr new_bloc; register heap_ptr heap; - if (! (new_bloc = (bloc_ptr) malloc (BLOC_PTR_SIZE)) + if (! (new_bloc = malloc (BLOC_PTR_SIZE)) || ! (new_bloc->data = obtain (break_value, size))) { free (new_bloc); |