From 815add84858fc733101a6e242c82fa82f463e4ad Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 14 Sep 2000 19:39:11 +0000 Subject: [PATCH] (alloc_buffer_text): Fix xmalloc call. --- src/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer.c b/src/buffer.c index 5df8e2d17cd..be00e818be7 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -4526,7 +4526,7 @@ alloc_buffer_text (b, nbytes) #elif defined REL_ALLOC p = r_alloc ((POINTER_TYPE **) &b->text->beg, nbytes); #else - p = xmalloc (b->text->beg, nbytes); + p = xmalloc (nbytes); #endif if (p == NULL) -- 2.39.2