1. 10 Nov, 2014 1 commit
    • Jorgen Lundman's avatar
      ZFS: Clean up cppcheck warnings where relevant, leaked memory etc · e183de0d
      Jorgen Lundman authored
      In a message from Wolfgang Denk highlighting warnings from cppcheck,
      the patch will address those that are correctly diagnosed. Some are
      false-positives:
      
      > [fs/zfs/zfs.c:937]: (error) Memory leak: l
      dmu_read() allocates "l" if successful, so error-case should not free
      it.
      > [fs/zfs/zfs.c:1141]: (error) Memory leak: dnbuf
      dmu_read() allocates "dnbuf" if successful, so error-case should not
      free it.
      > [fs/zfs/zfs.c:1372]: (error) Memory leak: osp
      zio_read() allocates "osp" if successful, so error-case should
      not free it.
      > [fs/zfs/zfs.c:1726]: (error) Memory leak: nvlist
      int_zfs_fetch_nvlist() allocates "nvlist" if successful, so error-case
      should not free it.
      Signed-off-by: default avatarJorgen Lundman <lundman@lundman.net>
      e183de0d
  2. 24 Sep, 2014 1 commit
  3. 17 Nov, 2013 1 commit
  4. 31 Oct, 2013 1 commit
  5. 24 Jul, 2013 1 commit
  6. 14 Nov, 2012 1 commit
  7. 02 Nov, 2012 1 commit
  8. 25 Sep, 2012 1 commit
  9. 09 Aug, 2012 1 commit