summaryrefslogtreecommitdiff
path: root/tests/test-table-opts/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-table-opts/scanner.l')
-rw-r--r--tests/test-table-opts/scanner.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-table-opts/scanner.l b/tests/test-table-opts/scanner.l
index 9efd49f..4a3bf95 100644
--- a/tests/test-table-opts/scanner.l
+++ b/tests/test-table-opts/scanner.l
@@ -66,6 +66,10 @@ int main ( int argc, char** argv )
}
while(yylex(YY_CALL_ONLY_ARG) != 0)
;
+
+#ifdef YY_TABLES_EXTERNAL
+ yytables_destroy(YY_CALL_ONLY_ARG);
+#endif
yylex_destroy(YY_CALL_ONLY_ARG);
if(argc < 0) /* silence the compiler */