]> sourceware.org Git - lvm2.git/commit
coverity: fix resource leaks
authorPeter Rajnoha <prajnoha@redhat.com>
Wed, 8 Jul 2015 11:56:06 +0000 (13:56 +0200)
committerPeter Rajnoha <prajnoha@redhat.com>
Wed, 8 Jul 2015 11:56:06 +0000 (13:56 +0200)
commit16e9b32c2f1a2d7e0f05a88981824ef0e7607965
tree2eaf18828651b0b5e6f4a8ec6c634076594534d0
parent3b6840e0997dd4df0ea711c2036871e3cc2fe40a
coverity: fix resource leaks

lib/log/log.c:115: leaked_storage: Variable "st" going out of scope leaks the storage it points to
daemons/lvmpolld/lvmpolld-core.c:573: leaked_storage: Variable "cmdargv" going out of scope leaks the storage it points to
daemons/lvmlockd/lvmlockd-core.c:5341: leaked_handle: Handle variable "fd" going out of scope leaks the handle
daemons/lvmlockd/lvmlockctl.c:575: overwrite_var: Overwriting "able_vg_name" in "able_vg_name = strdup(optarg)" leaks the storage that "able_vg_name" points to
daemons/lvmlockd/lvmlockctl.c:571: overwrite_var: Overwriting "able_vg_name" in "able_vg_name = strdup(optarg)" leaks the storage that "able_vg_name" points to
daemons/lvmlockd/lvmlockctl.c:385: leaked_handle: Handle variable "s" going out of scope leaks the handle
daemons/lvmlockd/lvmlockctl.c
daemons/lvmlockd/lvmlockd-core.c
lib/log/log.c
This page took 0.038091 seconds and 5 git commands to generate.