diff options
Diffstat (limited to 'src/fs/gnunet-unindex.c')
-rw-r--r-- | src/fs/gnunet-unindex.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/fs/gnunet-unindex.c b/src/fs/gnunet-unindex.c index be16e9100..094d8868d 100644 --- a/src/fs/gnunet-unindex.c +++ b/src/fs/gnunet-unindex.c | |||
@@ -173,11 +173,13 @@ main (int argc, char *const *argv) | |||
173 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) | 173 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) |
174 | return 2; | 174 | return 2; |
175 | 175 | ||
176 | return (GNUNET_OK == | 176 | ret = (GNUNET_OK == |
177 | GNUNET_PROGRAM_run (argc, argv, "gnunet-unindex [OPTIONS] FILENAME", | 177 | GNUNET_PROGRAM_run (argc, argv, "gnunet-unindex [OPTIONS] FILENAME", |
178 | gettext_noop | 178 | gettext_noop |
179 | ("Unindex a file that was previously indexed with gnunet-publish."), | 179 | ("Unindex a file that was previously indexed with gnunet-publish."), |
180 | options, &run, NULL)) ? ret : 1; | 180 | options, &run, NULL)) ? ret : 1; |
181 | GNUNET_free ((void*) argv); | ||
182 | return ret; | ||
181 | } | 183 | } |
182 | 184 | ||
183 | /* end of gnunet-unindex.c */ | 185 | /* end of gnunet-unindex.c */ |