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);
 }
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to