Pino Toscano b91ec0697d daemon: btrfs: fix bad handling of a couple of errors
Remove two wrong error handling situations in btrfs_balance_status:
- if the calloc for 'ret' fails, the 'goto error' would try to
  dereference the resulting null pointer (to free the items of the
  return struct); hence, just return null directly, instead of jumping
  to 'error'
- if the strdup() for 'btrfsbalance_status' fails, then the directly
  return would leak 'ret'
2017-11-03 16:44:20 +01:00
2017-01-03 16:48:21 +01:00
2017-01-26 15:05:46 +00:00
2017-10-18 13:01:03 +01:00
2017-10-18 11:16:31 +01:00
2017-01-26 15:05:46 +00:00
2017-10-17 23:59:31 +01:00
2017-10-17 23:59:31 +01:00
2017-08-10 15:03:37 +02:00
2017-10-17 23:59:31 +01:00
2017-01-26 15:05:46 +00:00
2017-10-17 23:59:31 +01:00
2017-01-26 15:05:46 +00:00
2017-09-28 14:39:23 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-10-17 23:59:31 +01:00
2017-01-26 15:05:46 +00:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2016-02-10 14:15:05 +01:00

Libguestfs is tools and a library for accessing and modifying guest
disk images.  For more information see the home page:

  http://libguestfs.org/

For discussion, development, patches, etc. please use the mailing
list:

  http://www.redhat.com/mailman/listinfo/libguestfs

To find out how to build libguestfs from source, read:

  docs/guestfs-building.pod
  http://libguestfs.org/guestfs-building.1.html
  man docs/guestfs-building.1

Copyright (C) 2009-2017 Red Hat Inc.

The library is distributed under the LGPLv2+.  The programs are
distributed under the GPLv2+.  Please see the files COPYING and
COPYING.LIB for full license information.  The examples are under a
very liberal license.
Languages
C 42.7%
OCaml 35.5%
Shell 7.1%
Makefile 4%
Perl 2.6%
Other 8%