Commit b92a799b authored by Matthias Braun's avatar Matthias Braun
Browse files

strcalc: no need to reserve an extra word

parent 9ea59941
......@@ -1017,7 +1017,7 @@ void init_strcalc(unsigned precision)
calc_buffer_size = precision / 2;
max_value_size = precision / 4;
calc_buffer = XMALLOCN(sc_word, calc_buffer_size + 1);
calc_buffer = XMALLOCN(sc_word, calc_buffer_size);
output_buffer = XMALLOCN(char, bit_pattern_size + 1);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment