diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-09-24 12:39:08 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-09-24 12:39:08 +0000 |
commit | 13d2b155da4dd6c490abec845b2ff264c6c571ba (patch) | |
tree | 6df7a7a6515a6f4c9006ed64370c63b34915304f /src/util/os_priority.c | |
parent | 1520a098258938a71b0a74c87a1a7138a00281b8 (diff) | |
download | gnunet-13d2b155da4dd6c490abec845b2ff264c6c571ba.tar.gz gnunet-13d2b155da4dd6c490abec845b2ff264c6c571ba.zip |
coverity bugs
Diffstat (limited to 'src/util/os_priority.c')
-rw-r--r-- | src/util/os_priority.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/os_priority.c b/src/util/os_priority.c index 88eee70dd..20d54341d 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c | |||
@@ -860,7 +860,10 @@ start_process (int pipe_control, | |||
860 | return NULL; /* not executable */ | 860 | return NULL; /* not executable */ |
861 | if ( (GNUNET_YES == pipe_control) && | 861 | if ( (GNUNET_YES == pipe_control) && |
862 | (GNUNET_OK != npipe_setup (&childpipename)) ) | 862 | (GNUNET_OK != npipe_setup (&childpipename)) ) |
863 | return NULL; | 863 | { |
864 | GNUNET_free (childpipename); | ||
865 | return NULL; | ||
866 | } | ||
864 | if (NULL != pipe_stdout) | 867 | if (NULL != pipe_stdout) |
865 | { | 868 | { |
866 | GNUNET_assert (GNUNET_OK == | 869 | GNUNET_assert (GNUNET_OK == |