diff options
author | 2014-07-12 18:44:01 +0000 | |
---|---|---|
committer | 2014-07-12 18:44:01 +0000 | |
commit | 87310acfb95997ce2dd7b5840ce1fd187a895c40 (patch) | |
tree | 609b4346d0d71f649c7007d8dc2221c7b03f669f /sys/ufs/ext2fs/ext2fs_inode.c | |
parent | add a size argument to free. will be used soon, but for now default to 0. (diff) | |
download | wireguard-openbsd-87310acfb95997ce2dd7b5840ce1fd187a895c40.tar.xz wireguard-openbsd-87310acfb95997ce2dd7b5840ce1fd187a895c40.zip |
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs_inode.c')
-rw-r--r-- | sys/ufs/ext2fs/ext2fs_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_inode.c b/sys/ufs/ext2fs/ext2fs_inode.c index 5e260310687..4722b30788e 100644 --- a/sys/ufs/ext2fs/ext2fs_inode.c +++ b/sys/ufs/ext2fs/ext2fs_inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_inode.c,v 1.51 2014/07/11 14:30:52 pelikan Exp $ */ +/* $OpenBSD: ext2fs_inode.c,v 1.52 2014/07/12 18:44:01 tedu Exp $ */ /* $NetBSD: ext2fs_inode.c,v 1.24 2001/06/19 12:59:18 wiz Exp $ */ /* @@ -519,7 +519,7 @@ ext2fs_indirtrunc(struct inode *ip, int32_t lbn, int32_t dbn, int32_t lastbn, in } if (copy != NULL) { - free(copy, M_TEMP); + free(copy, M_TEMP, 0); } else { bp->b_flags |= B_INVAL; brelse(bp); |