Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 2015 09:29:42 +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-10@freebsd.org
Subject:   svn commit: r288985 - stable/10/sys/gnu/fs/reiserfs
Message-ID:  <201510070929.t979Tg4B058100@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avatar
Date: Wed Oct  7 09:29:42 2015
New Revision: 288985
URL: https://svnweb.freebsd.org/changeset/base/288985

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

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

Modified: stable/10/sys/gnu/fs/reiserfs/reiserfs_vfsops.c
==============================================================================
--- stable/10/sys/gnu/fs/reiserfs/reiserfs_vfsops.c	Wed Oct  7 09:28:54 2015	(r288984)
+++ stable/10/sys/gnu/fs/reiserfs/reiserfs_vfsops.c	Wed Oct  7 09:29:42 2015	(r288985)
@@ -1022,6 +1022,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?201510070929.t979Tg4B058100>