summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2018-05-03 17:35:09 +0200
committerJeff Cody <jcody@redhat.com>2018-05-08 10:47:27 -0400
commita2cb9239b7610ffb00f9ced5cd7640d40b0e1ccf (patch)
tree20271b0c00f68b5db720b38823505e4a0bb57add /Makefile
parentdc885fff972c447f51572afc4c921a26b880731b (diff)
downloadqemu-a2cb9239b7610ffb00f9ced5cd7640d40b0e1ccf.tar.gz
sheepdog: Fix sd_co_create_opts() memory leaks
Both the option string for the 'redundancy' option and the SheepdogRedundancy object that is created accordingly could be leaked in error paths. This fixes the memory leaks. Reported by Coverity (CID 1390614 and 1390641). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-id: 20180503153509.22223-1-kwolf@redhat.com Reviewed-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions