Commit 1771a101 authored by Niels Möller's avatar Niels Möller
Browse files

Use lsh_space_alloc()

Rev: src/parse.c:1.16
parent ba6c9876
......@@ -249,7 +249,7 @@ int *parse_atom_list(struct simple_buffer *buffer)
if (buffer->data[i] == ',')
count++;
res = xalloc(sizeof(int) * (count+1));
res = lsh_space_alloc(sizeof(int) * (count+1));
for (i = 0; i < count; i++)
{
......
Markdown is supported
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