Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2015 22:43:36 +0000 (UTC)
From:      Tai-hwa Liang <avatar@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287698 - head/sys/gnu/fs/reiserfs
Message-ID:  <201509112243.t8BMha5E086728@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avatar
Date: Fri Sep 11 22:43:35 2015
New Revision: 287698
URL: https://svnweb.freebsd.org/changeset/base/287698

Log:
  Fixing a memory leak on module unloading.
  
  MFC after:	3 weeks

Modified:
  head/sys/gnu/fs/reiserfs/reiserfs_vfsops.c

Modified: head/sys/gnu/fs/reiserfs/reiserfs_vfsops.c
==============================================================================
--- head/sys/gnu/fs/reiserfs/reiserfs_vfsops.c	Fri Sep 11 22:42:26 2015	(r287697)
+++ head/sys/gnu/fs/reiserfs/reiserfs_vfsops.c	Fri Sep 11 22:43:35 2015	(r287698)
@@ -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?201509112243.t8BMha5E086728>