aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_os_start_process.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-09-24 12:39:08 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-09-24 12:39:08 +0000
commit13d2b155da4dd6c490abec845b2ff264c6c571ba (patch)
tree6df7a7a6515a6f4c9006ed64370c63b34915304f /src/util/test_os_start_process.c
parent1520a098258938a71b0a74c87a1a7138a00281b8 (diff)
downloadgnunet-13d2b155da4dd6c490abec845b2ff264c6c571ba.tar.gz
gnunet-13d2b155da4dd6c490abec845b2ff264c6c571ba.zip
coverity bugs
Diffstat (limited to 'src/util/test_os_start_process.c')
-rw-r--r--src/util/test_os_start_process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/test_os_start_process.c b/src/util/test_os_start_process.c
index e24e09500..f732fbbdf 100644
--- a/src/util/test_os_start_process.c
+++ b/src/util/test_os_start_process.c
@@ -197,6 +197,7 @@ check_kill ()
197 hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO, GNUNET_YES); 197 hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO, GNUNET_YES);
198 if ((hello_pipe_stdout == NULL) || (hello_pipe_stdin == NULL)) 198 if ((hello_pipe_stdout == NULL) || (hello_pipe_stdin == NULL))
199 { 199 {
200 GNUNET_free (fn);
200 return 1; 201 return 1;
201 } 202 }
202 proc = 203 proc =
@@ -230,6 +231,7 @@ check_instant_kill ()
230 hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO, GNUNET_YES); 231 hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO, GNUNET_YES);
231 if ((hello_pipe_stdout == NULL) || (hello_pipe_stdin == NULL)) 232 if ((hello_pipe_stdout == NULL) || (hello_pipe_stdin == NULL))
232 { 233 {
234 GNUNET_free (fn);
233 return 1; 235 return 1;
234 } 236 }
235 proc = 237 proc =