DragonFly BSD
DragonFly commits List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: dm - Fix a reference leak


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 24 Nov 2010 12:55:39 -0800 (PST)

commit 12a49c9b6b23a25d4c8de299d400896d8b90ddd9
Author: Alex Hornung <ahornung@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]