]> sourceware.org Git - systemtap.git/commitdiff
coverity tweak - close fds in dying threads
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 20 Oct 2017 15:04:56 +0000 (11:04 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 20 Oct 2017 15:04:56 +0000 (11:04 -0400)
staprun/monitor.c

index c5436e453332d01d9a1f9ea5be9534061c9a6c4a..6b8bb1119277e35f284b2eac09a261604800d47b 100644 (file)
@@ -688,6 +688,7 @@ void *redirect_stdin(void *arg)
                 }
         }
         read_stdin_cleanup();
+        close(fd); /* if it pleases m'lud coverity */
         return arg;
 }
 
This page took 0.026521 seconds and 5 git commands to generate.