From b4f5cdf8a2da9adc91750f4f858a809076bf72c9 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 1 Jul 1996 21:44:01 +0000 Subject: (pq_queue): Initialize packet->buf_vm_alloced. --- libpipe/pq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libpipe/pq.c b/libpipe/pq.c index ad31c8cd..c48f90bd 100644 --- a/libpipe/pq.c +++ b/libpipe/pq.c @@ -1,6 +1,6 @@ /* Packet queues - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1996 Free Software Foundation, Inc. Written by Miles Bader @@ -127,6 +127,7 @@ pq_queue (struct pq *pq, unsigned type, void *source) packet->ports = 0; packet->num_ports = packet->ports_alloced = 0; packet->buf_start = packet->buf_end = packet->buf; + packet->buf_vm_alloced = 0; } else pq->free = packet->next; -- cgit v1.2.3