#438 FreeBSD $diskio memory leak patch

open
nobody
Code (277)
5
2013-03-09
2013-03-09
Ken DEGUCHI
No

In FreeBSD, memory leak is caused by $diskio.

function "update_diskio" in src/freebsd.c

"free(statinfo_cur.dinfo);" is wrong. "free(statinfo_cur.dinfo->mem_ptr);" is right.

Discussion