From a871dd585ba29dd462aba78c49c931aa47402ffb Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 4 Mar 1999 09:03:31 +0000 Subject: [PATCH] (Fcall_process): Use xmalloc, xfree. --- src/callproc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/callproc.c b/src/callproc.c index f7ce129cda6..d6be8b6ff03 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -683,7 +683,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") else { /* We have to decode the input. */ int size = decoding_buffer_size (&process_coding, nread); - char *decoding_buf = (char *) malloc (size); + char *decoding_buf = (char *) xmalloc (size); decode_coding (&process_coding, bufptr, decoding_buf, nread, size); @@ -695,7 +695,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") there's a possibility that the detection was done by insufficient data. So, we give up displaying on the fly. */ - free (decoding_buf); + xfree (decoding_buf); display_on_the_fly = 0; process_coding = saved_coding; carryover = nread; @@ -703,7 +703,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") } if (process_coding.produced > 0) insert (decoding_buf, process_coding.produced); - free (decoding_buf); + xfree (decoding_buf); carryover = nread - process_coding.consumed; if (carryover > 0) { -- 2.39.2