git: dm - Fix a reference leak

Alex Hornung alexh at crater.dragonflybsd.org
Wed Nov 24 12:56:27 PST 2010


commit 12a49c9b6b23a25d4c8de299d400896d8b90ddd9
Author: Alex Hornung <ahornung at gmail.com>
Date:   Wed Nov 24 19:52:52 2010 +0000

    dm - Fix a reference leak
    
    * References to the newly created target would not be released on an
      error, but they should. Otherwise dm_target_rem will never succeed if
      an error occured here.

Summary of changes:
 sys/dev/disk/dm/dm_ioctl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/12a49c9b6b23a25d4c8de299d400896d8b90ddd9


-- 
DragonFly BSD source repository





More information about the Commits mailing list