aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index fbe3ae69329..77c9e857c04 100644
--- a/src/process.c
+++ b/src/process.c
@@ -598,6 +598,9 @@ setup_process_coding_systems (process)
598 int inch = XINT (p->infd); 598 int inch = XINT (p->infd);
599 int outch = XINT (p->outfd); 599 int outch = XINT (p->outfd);
600 600
601 if (inch < 0 || outch < 0)
602 return;
603
601 if (!proc_decode_coding_system[inch]) 604 if (!proc_decode_coding_system[inch])
602 proc_decode_coding_system[inch] 605 proc_decode_coding_system[inch]
603 = (struct coding_system *) xmalloc (sizeof (struct coding_system)); 606 = (struct coding_system *) xmalloc (sizeof (struct coding_system));