update_diskio memory leak fix

"diskio" cause a memory leak in FreeBSD.