From 625da34c7cbb8896caa4b17fca8d16284ee48132 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 11 Nov 1994 16:46:04 +0000 Subject: (diskfs_set_hypermetadata): Deallocate BUF in the right place. --- ufs/hyper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ufs/hyper.c') diff --git a/ufs/hyper.c b/ufs/hyper.c index 94fd209c..8a556cef 100644 --- a/ufs/hyper.c +++ b/ufs/hyper.c @@ -134,8 +134,8 @@ diskfs_set_hypermetadata (int wait, int clean) bcopy (csum, (void *) buf, sblock->fs_cssize); dev_write_sync (fsbtodb (sblock, sblock->fs_csaddr), buf, bufsize); csum_dirty = 0; + vm_deallocate (mach_task_self (), buf, bufsize); } - vm_deallocate (mach_task_self (), buf, bufsize); spin_unlock (&alloclock); } -- cgit v1.2.3