git: sbin/newfs_hammer: Fix minor memory leak

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Aug 22 10:53:21 PDT 2015


commit 4eec2c55b32098a44caf92c66667f8cb41096a15
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Aug 19 21:03:13 2015 +0900

    sbin/newfs_hammer: Fix minor memory leak
    
    vol->fd is supposed to be already opened by setup_volume()
    by the time check_volume(vol) is called.

Summary of changes:
 sbin/newfs_hammer/newfs_hammer.c | 3 ---
 1 file changed, 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4eec2c55b32098a44caf92c66667f8cb41096a15


-- 
DragonFly BSD source repository



More information about the Commits mailing list