diff options
Diffstat (limited to 'src/statistics/test_statistics_api.c')
-rw-r--r-- | src/statistics/test_statistics_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/statistics/test_statistics_api.c b/src/statistics/test_statistics_api.c index 84d3f5a23..11f02b817 100644 --- a/src/statistics/test_statistics_api.c +++ b/src/statistics/test_statistics_api.c | |||
@@ -153,7 +153,7 @@ check () | |||
153 | ok = 1; | 153 | ok = 1; |
154 | } | 154 | } |
155 | GNUNET_OS_process_wait (proc); | 155 | GNUNET_OS_process_wait (proc); |
156 | GNUNET_OS_process_close (proc); | 156 | GNUNET_OS_process_destroy (proc); |
157 | proc = NULL; | 157 | proc = NULL; |
158 | #endif | 158 | #endif |
159 | if (ok != 0) | 159 | if (ok != 0) |
@@ -175,7 +175,7 @@ check () | |||
175 | ok = 1; | 175 | ok = 1; |
176 | } | 176 | } |
177 | GNUNET_OS_process_wait (proc); | 177 | GNUNET_OS_process_wait (proc); |
178 | GNUNET_OS_process_close (proc); | 178 | GNUNET_OS_process_destroy (proc); |
179 | proc = NULL; | 179 | proc = NULL; |
180 | #endif | 180 | #endif |
181 | return ok; | 181 | return ok; |