summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-03-20 16:23:50 +0100
committerPatrick McHardy <kaber@trash.net>2009-03-20 16:23:50 +0100
commit7feffa0ed35e4125f272edded092b890234a794b (patch)
treecc544f616aad5e44cb9b9486e69c456a0ea59312 /src/main.c
parent0e217b46129e6f39fe38354c6682d839f4c8ae34 (diff)
Release scopes during cleanup
Properly release the user-defined symbols. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f7686ae3..00f594f6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -195,6 +195,7 @@ int main(int argc, char * const *argv)
}
out:
scanner_destroy(scanner);
+ scope_release(&state.top_scope);
erec_print_list(stdout, &msgs);
xfree(buf);