svn commit: r288985 - stable/10/sys/gnu/fs/reiserfs

Tai-hwa Liang avatar at FreeBSD.org
Wed Oct 7 09:29:43 UTC 2015


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);
 }


More information about the svn-src-stable-10 mailing list