When an mpipe was being destroyed, each element in the array was being
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 20 Apr 2004 16:58:32 +0000 (16:58 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 20 Apr 2004 16:58:32 +0000 (16:58 +0000)
commit0d3563082094dbd5f0908b789f928594c89abc0d
treebda88a7d385fa9a831b7e3e8175331c6497d96e1
parent75e4f83b8e27589cf302cb505e284d5f2c5b77ab
When an mpipe was being destroyed, each element in the array was being
freed, but the array itself was not.  Free the array as well.

Also do some minor tidying up of mpipe_done().

Reported-by: Craig Dooley <craig@xlnx-x.net>
sys/kern/kern_mpipe.c