[PATCH v2 0/3] nilfs-utils: fix leak at nilfs_open and remove null checks before free()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series fixes potential leak at nilfs_open and removes unnecessary
null checks before calling free().

Changes from v1:
 * fix warnings at sbin/mount/{fstab.c,mount.nilfs2.c,umount.nilfs2.c}

Ryusuke Konishi
--
Ryusuke Konishi (3):
      lib/nilfs.c: fix potential leak at nilfs_open()
      nilfs-utils: get rid of my_free()
      nilfs-utils: get rid of null checks before calling free()

 lib/cleaner_ctl.c          |  6 ++----
 lib/gc.c                   |  3 +--
 lib/nilfs.c                | 26 ++++++++++----------------
 lib/realpath.c             |  9 +++------
 sbin/mount/fstab.c         | 20 +++++++-------------
 sbin/mount/mount.nilfs2.c  | 38 +++++++++++++++-----------------------
 sbin/mount/mount_mntent.h  |  8 ++++----
 sbin/mount/umount.nilfs2.c | 15 ++++-----------
 8 files changed, 46 insertions(+), 79 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux