diff options
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/sysv_shm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c index 944c2cddd2c..7912cf2f5fc 100644 --- a/sys/kern/sysv_shm.c +++ b/sys/kern/sysv_shm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysv_shm.c,v 1.39 2003/10/12 23:44:39 millert Exp $ */ +/* $OpenBSD: sysv_shm.c,v 1.40 2003/12/22 00:35:57 millert Exp $ */ /* $NetBSD: sysv_shm.c,v 1.50 1998/10/21 22:24:29 tron Exp $ */ /* @@ -619,8 +619,6 @@ sysctl_sysvshm(int *name, u_int namelen, void *oldp, size_t *oldlenp, bzero(newseqs + shminfo.shmmni, (val - shminfo.shmmni) * sizeof(unsigned short)); free(shmsegs, M_SHM); - free(shmseqs, M_SHM); - shmsegs = newsegs; shmseqs = newseqs; shminfo.shmmni = val; return (0); |