diff options
| author | Dave Love | 2000-09-14 19:39:11 +0000 |
|---|---|---|
| committer | Dave Love | 2000-09-14 19:39:11 +0000 |
| commit | 815add84858fc733101a6e242c82fa82f463e4ad (patch) | |
| tree | 3c90b8a8f235b52440ad4ef24f77b7004553af45 /src | |
| parent | 085536c2734fd68e2339701389b19b7312ab9c0b (diff) | |
| download | emacs-815add84858fc733101a6e242c82fa82f463e4ad.tar.gz emacs-815add84858fc733101a6e242c82fa82f463e4ad.zip | |
(alloc_buffer_text): Fix xmalloc call.
Diffstat (limited to 'src')
| -rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 4526 | #elif defined REL_ALLOC | 4526 | #elif defined REL_ALLOC |
| 4527 | p = r_alloc ((POINTER_TYPE **) &b->text->beg, nbytes); | 4527 | p = r_alloc ((POINTER_TYPE **) &b->text->beg, nbytes); |
| 4528 | #else | 4528 | #else |
| 4529 | p = xmalloc (b->text->beg, nbytes); | 4529 | p = xmalloc (nbytes); |
| 4530 | #endif | 4530 | #endif |
| 4531 | 4531 | ||
| 4532 | if (p == NULL) | 4532 | if (p == NULL) |