Commit 815add84 authored by Dave Love's avatar Dave Love
Browse files

(alloc_buffer_text): Fix xmalloc call.

parent 085536c2
...@@ -4526,7 +4526,7 @@ alloc_buffer_text (b, nbytes) ...@@ -4526,7 +4526,7 @@ alloc_buffer_text (b, nbytes)
#elif defined REL_ALLOC #elif defined REL_ALLOC
p = r_alloc ((POINTER_TYPE **) &b->text->beg, nbytes); p = r_alloc ((POINTER_TYPE **) &b->text->beg, nbytes);
#else #else
p = xmalloc (b->text->beg, nbytes); p = xmalloc (nbytes);
#endif #endif
if (p == NULL) if (p == NULL)
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