summaryrefslogtreecommitdiffstats
path: root/python/examples/guestfs-python.pod
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-03-08 11:39:50 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-03-08 18:14:34 +0000
commit691bbd2e4811b0ac09afd2e40b756f3a61be13dc (patch)
treec128c3e717909a61175fb42e13fcdaaa00a570f7 /python/examples/guestfs-python.pod
parent3e2ebf4053ab0ad39976ab421fbf326e4500b0a0 (diff)
downloadlibguestfs-691bbd2e4811b0ac09afd2e40b756f3a61be13dc.tar.gz
libguestfs-691bbd2e4811b0ac09afd2e40b756f3a61be13dc.tar.xz
libguestfs-691bbd2e4811b0ac09afd2e40b756f3a61be13dc.zip
daemon: 9p: Close fd along error paths (found by Coverity).
Error: RESOURCE_LEAK: /builddir/build/BUILD/libguestfs-1.16.5/daemon/9p.c:130: open_fn: Calling opening function "open". /builddir/build/BUILD/libguestfs-1.16.5/daemon/9p.c:130: var_assign: Assigning: "fd" = handle returned from "open(filename, 0)". /builddir/build/BUILD/libguestfs-1.16.5/daemon/9p.c:142: leaked_handle: Handle variable "fd" going out of scope leaks the handle. /builddir/build/BUILD/libguestfs-1.16.5/daemon/9p.c:149: noescape: Variable "fd" is not closed or saved in function "read". /builddir/build/BUILD/libguestfs-1.16.5/daemon/9p.c:153: leaked_handle: Handle variable "fd" going out of scope leaks the handle. (cherry picked from commit cba36e730524525b5fc1c0df2ec3dd878d55ff15)
Diffstat (limited to 'python/examples/guestfs-python.pod')
0 files changed, 0 insertions, 0 deletions