]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afh.c
afh: Avoid memory leak at exit.
[paraslash.git] / afh.c
diff --git a/afh.c b/afh.c
index 567b560a038f0923a663005b447a0fc688c57b2a..c896a7d1eff4a843e2e61a4ec8b6dac4982ed197 100644 (file)
--- a/afh.c
+++ b/afh.c
@@ -258,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;
 }