From: Dave Love <fx@gnu.org>
Date: Thu, 14 Sep 2000 19:39:11 +0000 (+0000)
Subject: (alloc_buffer_text): Fix xmalloc call.
X-Git-Tag: emacs-pretest-21.0.90~1611
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=815add84858fc733101a6e242c82fa82f463e4ad;p=emacs.git

(alloc_buffer_text): Fix xmalloc call.
---

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)