Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 2015 19:05:19 +0000 (UTC)
From:      Tai-hwa Liang <avatar@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r289885 - stable/8/sys/gnu/fs/reiserfs
Message-ID:  <201510241905.t9OJ5J4g030799@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avatar
Date: Sat Oct 24 19:05:19 2015
New Revision: 289885
URL: https://svnweb.freebsd.org/changeset/base/289885

Log:
  MFC r287698: Fixing a memory leak on module unloading.

Modified:
  stable/8/sys/gnu/fs/reiserfs/reiserfs_vfsops.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/gnu/   (props changed)

Modified: stable/8/sys/gnu/fs/reiserfs/reiserfs_vfsops.c
==============================================================================
--- stable/8/sys/gnu/fs/reiserfs/reiserfs_vfsops.c	Sat Oct 24 19:04:55 2015	(r289884)
+++ stable/8/sys/gnu/fs/reiserfs/reiserfs_vfsops.c	Sat Oct 24 19:05:19 2015	(r289885)
@@ -1050,6 +1050,7 @@ uint32_t find_hash_out(struct reiserfs_m
 		}
 	} while (0);
 
+	free(ip, M_REISERFSNODE);
 	pathrelse(&path);
 	return (hash);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510241905.t9OJ5J4g030799>