git: DragonFly_RELEASE_4_0 sbin/hammer: fix potential memory leak

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Tue Jan 20 10:06:06 PST 2015


commit 59fa369d4af4be77977d0667927ef3a3c2beb28f
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Jan 13 01:37:09 2015 +0900

    sbin/hammer: fix potential memory leak
    
    - This patch properly frees calloc/malloced memory.
    
    Closes: #2766

Summary of changes:
 sbin/hammer/cmd_blockmap.c | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/59fa369d4af4be77977d0667927ef3a3c2beb28f


-- 
DragonFly BSD source repository



More information about the Commits mailing list