xfs
[Top] [All Lists]

TAKE - fix memory leaks

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - fix memory leaks
From: Steve Lord <lord@xxxxxxx>
Date: Thu, 6 Feb 2003 12:13:36 -0600
Sender: linux-xfs-bounce@xxxxxxxxxxx
fix a couple of memory leaks found by stanford checker


Date:  Thu Feb  6 10:13:04 PST 2003
Workarea:  jen.americas.sgi.com:/src/lord/xfs-linux.2.4

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs


Modid:  2.4.x-xfs:slinx:138812a
linux/fs/xfs/xfs_log_recover.c - 1.254
        - during log recovery, delay allocating a chunk of memory until
          we know we are actually going to need it. Removes a leak in
          xlog_recover_add_to_trans().

linux/fs/xfs/xfs_dir_leaf.c - 1.108
        - always free allocated memory in xfs_dir_leaf_to_shortform



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - fix memory leaks, Steve Lord <=