diff options
Diffstat (limited to 'src/testing/gnunet-testing.c')
-rw-r--r-- | src/testing/gnunet-testing.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/testing/gnunet-testing.c b/src/testing/gnunet-testing.c index cc5c6f50c..ba864e3f0 100644 --- a/src/testing/gnunet-testing.c +++ b/src/testing/gnunet-testing.c | |||
@@ -209,14 +209,15 @@ main (int argc, char *const *argv) | |||
209 | GNUNET_YES, &GNUNET_GETOPT_set_string, &create_cfg_template}, | 209 | GNUNET_YES, &GNUNET_GETOPT_set_string, &create_cfg_template}, |
210 | GNUNET_GETOPT_OPTION_END | 210 | GNUNET_GETOPT_OPTION_END |
211 | }; | 211 | }; |
212 | |||
213 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) | 212 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) |
214 | return 2; | 213 | return 2; |
215 | 214 | ||
216 | return (GNUNET_OK == | 215 | ret = (GNUNET_OK == |
217 | GNUNET_PROGRAM_run (argc, argv, "gnunet-testing", | 216 | GNUNET_PROGRAM_run (argc, argv, "gnunet-testing", |
218 | gettext_noop ("Command line tool to access the testing library"), options, &run, | 217 | gettext_noop ("Command line tool to access the testing library"), options, &run, |
219 | NULL)) ? ret : 1; | 218 | NULL)) ? ret : 1; |
219 | GNUNET_free ((void*) argv); | ||
220 | return ret; | ||
220 | } | 221 | } |
221 | 222 | ||
222 | /* end of gnunet-testing.c */ | 223 | /* end of gnunet-testing.c */ |