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

Reply via email to