From: | Craig Dooley <craig@xxxxxxxxxx> |
Date: | Tue, 20 Apr 2004 08:44:00 -0400 |
When an mpipe was being destroyed, each element in the array was being freed, but the array itself was not, so I added the free statement. -Craig -- ------------------------------------------------------------------------ Craig Dooley craig@xxxxxxxxxx ------------------------------------------------------------------------
Index: kern/kern_mpipe.c =================================================================== RCS file: /home/dcvs/src/sys/kern/kern_mpipe.c,v retrieving revision 1.5 diff -u -r1.5 kern_mpipe.c --- kern/kern_mpipe.c 29 Mar 2004 16:22:21 -0000 1.5 +++ kern/kern_mpipe.c 20 Apr 2004 03:34:52 -0000 @@ -98,6 +98,7 @@ mpipe->deconstruct(mpipe, buf); free(buf, mpipe->type); } + free(mpipe->array, M_MPIPEARY); } /*
Attachment:
pgp00011.pgp
Description: PGP signature