git: sbin/hammer: fix potential memory leak

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Tue Jan 20 07:34:12 PST 2015


commit 488d97f5ed5638d35fd872dc63eda9be84a9c9b6
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/488d97f5ed5638d35fd872dc63eda9be84a9c9b6


-- 
DragonFly BSD source repository



More information about the Commits mailing list