]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afh.c
Merge branch 'refs/heads/t/score-formula'
[paraslash.git] / afh.c
diff --git a/afh.c b/afh.c
index ffb4315b0d41e7087aa03ee7b353e7f690989126..c896a7d1eff4a843e2e61a4ec8b6dac4982ed197 100644 (file)
--- a/afh.c
+++ b/afh.c
@@ -221,7 +221,6 @@ int main(int argc, char **argv)
        loglevel = OPT_UINT32_VAL(LOGLEVEL);
        version_handle_flag("afh", OPT_GIVEN(VERSION));
        handle_help_flags();
-       afh_init();
        for (i = 0; i < lls_num_inputs(lpr); i++) {
                int ret2;
                const char *path = lls_input(i, lpr);
@@ -259,5 +258,6 @@ out:
                PARA_ERROR_LOG("%s\n", errctx);
        if (ret < 0)
                PARA_EMERG_LOG("%s\n", para_strerror(-ret));
+       lls_free_parse_result(lpr, CMD_PTR);
        return ret < 0? EXIT_FAILURE : EXIT_SUCCESS;
 }